mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-21 19:31:57 +00:00
Add React Denver to the Meetups page (#4727)
Co-authored-by: Rick Hanlon <rickhanlonii@fb.com>
This commit is contained in:
@@ -4,12 +4,14 @@
|
||||
|
||||
// Do not delete or move this file.
|
||||
// Many fiddles reference it so we have to keep it here.
|
||||
(function() {
|
||||
(function () {
|
||||
var tag = document.querySelector(
|
||||
'script[type="application/javascript;version=1.7"]'
|
||||
);
|
||||
if (!tag || tag.textContent.indexOf('window.onload=function(){') !== -1) {
|
||||
alert('Bad JSFiddle configuration, please fork the original React JSFiddle');
|
||||
alert(
|
||||
'Bad JSFiddle configuration, please fork the original React JSFiddle'
|
||||
);
|
||||
}
|
||||
tag.setAttribute('type', 'text/babel');
|
||||
tag.textContent = tag.textContent.replace(/^\/\/<!\[CDATA\[/, '');
|
||||
|
||||
@@ -4,12 +4,14 @@
|
||||
|
||||
// Do not delete or move this file.
|
||||
// Many fiddles reference it so we have to keep it here.
|
||||
(function() {
|
||||
(function () {
|
||||
var tag = document.querySelector(
|
||||
'script[type="application/javascript;version=1.7"]'
|
||||
);
|
||||
if (!tag || tag.textContent.indexOf('window.onload=function(){') !== -1) {
|
||||
alert('Bad JSFiddle configuration, please fork the original React JSFiddle');
|
||||
alert(
|
||||
'Bad JSFiddle configuration, please fork the original React JSFiddle'
|
||||
);
|
||||
}
|
||||
tag.setAttribute('type', 'text/jsx;harmony=true');
|
||||
tag.textContent = tag.textContent.replace(/^\/\/<!\[CDATA\[/, '');
|
||||
|
||||
Reference in New Issue
Block a user