Skip to content

Commit

Permalink
Correct README.md about text/jsx type
Browse files Browse the repository at this point in the history
According to sources `text/jsx` is supported too for auto-compilation in browser
babel#15
  • Loading branch information
ssergiienko committed Aug 24, 2016
1 parent e50e52a commit e8c051f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -34,7 +34,7 @@ var input = 'const getMessage = () => "Hello World";';
var output = Babel.transform(input, { presets: ['es2015'] }).code;
```

When loaded in a browser, babel-standalone will automatically compile and execute all script tags with `text/babel` type:
When loaded in a browser, babel-standalone will automatically compile and execute all script tags with type `text/babel` or `text/jsx`:
```html
<div id="output"></div>
<!-- Load Babel -->
Expand Down

0 comments on commit e8c051f

Please sign in to comment.