-
Notifications
You must be signed in to change notification settings - Fork 48.5k
Bring in jsfiddle integration script, add harmony #2433
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
if (!tag || tag.textContent.indexOf('window.onload=function(){') !== -1) { | ||
alert('Bad JSFiddle configuration, please fork the original React JSFiddle'); | ||
} | ||
tag.setAttribute('type', 'text/jsx;harmony=true'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's just ;harmony
, not =true
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope, we made it strict in #1827.
Bring in jsfiddle integration script, add harmony
Bring in jsfiddle integration script, add harmony
Should we just update the base fiddle to use http://facebook.github.io/react/js/jsfiddle-integration.js or should we update the fb.me url to point at that? |
Brings in http://dragon.ak.fbcdn.net/hphotos-ak-prn1/851561_341095626017279_6573_n.js which is currently living at http://fb.me/react-js-fiddle-integration.js. We should just serve from GitHub for this so its easier to update. In fact we can skip the fb.me hop entirely and update the base fiddle to point at facebook.github.io/js/jsfiddle-integration.js
cc @vjeux