Skip to content

Commit 3f31ec4

Browse files
committed
Change harmony option to "harmony=true"
1 parent 65c258a commit 3f31ec4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/basic-jsx-harmony/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ <h4>Example Details</h4>
2525
</p>
2626
<script src="../../build/react.js"></script>
2727
<script src="../../build/JSXTransformer.js"></script>
28-
<script type="text/jsx;harmony">
28+
<script type="text/jsx;harmony=true">
2929
/**
3030
* @jsx React.DOM
3131
*/

vendor/browser-transforms.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ runScripts = function() {
184184

185185
jsxScripts.forEach(function(script) {
186186
var options;
187-
if (script.type.indexOf('harmony') !== -1) {
187+
if (script.type.indexOf('harmony=true') !== -1) {
188188
options = {
189189
harmony: true
190190
};

0 commit comments

Comments
 (0)