@@ -35,11 +35,11 @@ If using ES6 syntax (optional), include `traceur.js` or `6to5.js` in the page fi
35
35
<script src =" es6-module-loader.js" ></script >
36
36
```
37
37
38
- To use 6to5, set the parser to ` 6to5 ` with the loader configuration:
38
+ To use 6to5, set the transpiler to ` 6to5 ` with the loader configuration:
39
39
40
40
``` html
41
41
<script >
42
- System .parser = ' 6to5' ;
42
+ System .transpiler = ' 6to5' ;
43
43
</script >
44
44
```
45
45
@@ -110,7 +110,7 @@ index.js:
110
110
var System = require (' es6-module-loader' ).System ;
111
111
/*
112
112
* Include:
113
- * System.parser = '6to5';
113
+ * System.transpiler = '6to5';
114
114
* to use 6to5 instead of Traceur
115
115
*/
116
116
@@ -139,10 +139,10 @@ _Also, please don't edit files in the "dist" subdirectory as they are generated
139
139
140
140
- ` npm run test:node ` will use node to to run the tests
141
141
- ` npm run test:browser ` will run ` npm run test:browser-6to5 ` and ` npm run test:browser-traceur `
142
- - ` npm run test:browser-[parser ] ` use karma to run the tests with traceur or 6to5.
142
+ - ` npm run test:browser-[transpiler ] ` use karma to run the tests with traceur or 6to5.
143
143
- ` npm run test:browser:perf ` will use karma to run benchmarks
144
144
145
- ` npm run test:browser-[parser ] ` supports options after a double dash (` -- ` ) :
145
+ ` npm run test:browser-[transpiler ] ` supports options after a double dash (` -- ` ) :
146
146
147
147
- You can use the ` --polyfill ` option to test the code with polyfill.
148
148
0 commit comments