Change harmony option to "harmony=true"
remixz committed
May 14, 2014 at 15:50 UTC
3f31ec463f26a5786bc7262e8b87f61c53169380
2 files changed
+2
-2
examples/basic-jsx-harmony/index.html
+1
-1
@@ -25,7 +25,7 @@
25
</p>
26
<script src="../../build/react.js"></script>
27
<script src="../../build/JSXTransformer.js"></script>
28
- <script type="text/jsx;harmony">
28
+ <script type="text/jsx;harmony=true">
29
/**
30
* @jsx React.DOM
31
*/
vendor/browser-transforms.js
+1
-1
@@ -184,7 +184,7 @@ runScripts = function() {
184
185
jsxScripts.forEach(function(script) {
186
var options;
187
- if (script.type.indexOf('harmony') !== -1) {
187
+ if (script.type.indexOf('harmony=true') !== -1) {
188
options = {
189
harmony: true
190
};