Skip to content
This repository was archived by the owner on Jul 13, 2020. It is now read-only.

Commit d07fb0b

Browse files
committed
parser -> transpiler in readme
1 parent 83a9d3f commit d07fb0b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ If using ES6 syntax (optional), include `traceur.js` or `6to5.js` in the page fi
3535
<script src="es6-module-loader.js"></script>
3636
```
3737

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:
3939

4040
```html
4141
<script>
42-
System.parser = '6to5';
42+
System.transpiler = '6to5';
4343
</script>
4444
```
4545

@@ -110,7 +110,7 @@ index.js:
110110
var System = require('es6-module-loader').System;
111111
/*
112112
* Include:
113-
* System.parser = '6to5';
113+
* System.transpiler = '6to5';
114114
* to use 6to5 instead of Traceur
115115
*/
116116

@@ -139,10 +139,10 @@ _Also, please don't edit files in the "dist" subdirectory as they are generated
139139

140140
- `npm run test:node` will use node to to run the tests
141141
- `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.
143143
- `npm run test:browser:perf` will use karma to run benchmarks
144144

145-
`npm run test:browser-[parser]` supports options after a double dash (`--`) :
145+
`npm run test:browser-[transpiler]` supports options after a double dash (`--`) :
146146

147147
- You can use the `--polyfill` option to test the code with polyfill.
148148

0 commit comments

Comments
 (0)