Comments (2)
This is because JSBin is loaded through HTTP, so if you're visiting the site through HTTPS (e.g.: https://xgrommx.github.io/rx-book/content/observable/observable_instance_methods/every.html) then the examples don't work:
plugin.js:42 Mixed Content: The page at 'https://xgrommx.github.io/rx-book/content/observable/observable_instance_methods/every.html' was loaded over HTTPS, but requested an insecure resource 'http://jsbin.com/kaxifo/1/embed?js,console'. This request has been blocked; the content must be served over HTTPS.
You can switch to a HTTP URL instead, and examples will work:
http://xgrommx.github.io/rx-book/content/observable/observable_instance_methods/every.html
Unfortunately, it seems you need to pay if you want to embed with HTTPS, so who knows if this will get fixed.
https://jsbin.com/gelaz/1/embed?js,output
Embedding JS Bin under https is only available to bins created by users with a pro account.
from rx-book.
Indeed with http it works but still I have a problem for the forkjoin example:
When I use the code provided at the bottom of the page I get n is not a function
, which is very weird. Maybe example is not up to date with the latest version of Rx?
Code:
var source = Rx.Observable.just(42).forkJoin(
Rx.Observable.range(0, 3));
var subscription = source.subscribe(
function (x) {
console.log('Next: %s', x);
},
function (err) {
console.log('Error: %s', err);
},
function () {
console.log('Completed');
});
from rx-book.
Related Issues (20)
- Any update?
- Update book to Rx 4 HOT 2
- mixed content error: jsbins are now broken HOT 1
- I wonder why Design Guidelines is so high up?
- timer.md example broken
- Rx.AsyncSubject() Example error HOT 1
- Minor hyperlink error
- make a eBook file HOT 3
- it's not functional reactive programming but reactive programming HOT 2
- Unreadable on mobile, paragraphs extremely narrow HOT 3
- Rx 5
- Throttle for keyup event stream
- Translate it into Chinese HOT 6
- `throwError` should be `throw` HOT 1
- WNEN ADD GUIDE IN CN (Chinese) HOT 1
- link mistakes
- Can not find the link of throttleFirst HOT 1
- Marble diagram dragging is broken
- Examples cannot be loaded because of changes to jsbin HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rx-book.