From e8c051f46f9ed18adc5fb8f55b76ea3771660071 Mon Sep 17 00:00:00 2001 From: ssergiienko Date: Wed, 24 Aug 2016 17:49:16 +0300 Subject: [PATCH] Correct README.md about text/jsx type According to sources `text/jsx` is supported too for auto-compilation in browser https://github.com/Daniel15/babel-standalone/issues/15 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 37361d7..a61ef8f 100644 --- a/README.md +++ b/README.md @@ -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