Traceur compiler for `atma-io`, `IncludeJS` and `atma-server`.
npm install atma-loader-traceurTraceur Compiler (Atma Plugin)
-----

_with proper stacktrace support_
The Plugin extends:
- IncludeJS with a custom loader
- atma-io with a custom middleware to read ES6 files
- atma-server and Atma Toolkit with a HTTPHandler to serve compiled sources (with sourceMap support)
##### How to use
###### Embed into the Project
+ atma plugin install atma-loader-traceur
This adds atma-loader-traceur npm dependency and the package.json would look like:
``json
`
{
"dependencies": {
"atma-loader-traceur"
},
"atma": {
"plugins": [
"atma-loader-traceur"
],
"settings": {
"atma-loader-traceur": {
"extensions" : [ "es6" ]
"traceur": {} // traceur-compiler options
}
}
}
}
$ npm install atma -g
+ That's all. Now, you are ready to use the 'next javascript' in your project
##### Quick Try
+ install atma:
$ atma plugin install atma-loader-traceur
+ install plugin:
test.html
+ add to the directory
`
html
`
test.es6
+ add
`
javascript
`
setInterval(() => document.body.textContent += ".. itworks ..", 200);
$ atma server
+ start the server:
http://localhost:5777/test.html`
+ open the browser:
----
The MIT License