1.0.19 • Published 11 years ago
atma-loader-traceur v1.0.19
Traceur Compiler (Atma Plugin)
with proper stacktrace support
The Plugin extends:
IncludeJSwith a custom loaderatma-iowith a custom middleware to read ES6 filesatma-serverandAtma Toolkitwith aHTTPHandlerto serve compiled sources (with sourceMap support)
How to use
Embed into the Project
atma plugin install atma-loader-traceurThis adds `atma-loader-traceur` npm dependency and the `package.json` would look like:{ "dependencies": { "atma-loader-traceur" }, "atma": { "plugins": [ "atma-loader-traceur" ], "settings": { "atma-loader-traceur": { "extensions" : [ "es6" ] "traceur": {} // traceur-compiler options } } } }That's all. Now, you are ready to use the 'next javascript' in your project
Quick Try
- install atma:
$ npm install atma -g - install plugin:
$ atma plugin install atma-loader-traceur add
test.htmlto the directory<!DOCTYPE html> <script src='test.es6'></script>add
test.es6setInterval(() => document.body.textContent += ".. itworks ..", 200);- start the server:
$ atma server - open the browser:
http://localhost:5777/test.html
The MIT License
1.0.19
11 years ago
1.0.18
11 years ago
1.0.17
11 years ago
1.0.16
11 years ago
1.0.15
11 years ago
1.0.14
11 years ago
1.0.13
11 years ago
1.0.12
11 years ago
1.0.11
11 years ago
1.0.9
11 years ago
1.0.8
11 years ago
1.0.7
11 years ago
1.0.6
11 years ago
1.0.5
11 years ago
1.0.4
11 years ago
1.0.3
11 years ago
1.0.2
11 years ago
1.0.0
11 years ago
0.0.12
11 years ago
0.0.11
12 years ago
0.0.9
12 years ago
0.0.8
12 years ago
0.0.7
12 years ago
0.0.6
12 years ago
0.0.5
12 years ago
0.0.4
12 years ago
0.0.3
12 years ago
0.0.2
12 years ago
0.0.1
12 years ago
