Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c88139492d | ||
|
|
cb45886512 |
@@ -1,5 +1,4 @@
|
||||
language: node_js
|
||||
before_install: "npm install -g npm"
|
||||
node_js:
|
||||
- "0.10"
|
||||
- "0.12"
|
||||
|
||||
@@ -780,6 +780,12 @@ var result = UglifyJS.minify(ast, {
|
||||
// result.code contains the minified code in string form.
|
||||
```
|
||||
|
||||
### Working with Uglify AST
|
||||
|
||||
Transversal and transformation of the native AST can be performed through
|
||||
[`TreeWalker`](http://lisperator.net/uglifyjs/walk) and
|
||||
[`TreeTransformer`](http://lisperator.net/uglifyjs/transform) respectively.
|
||||
|
||||
### ESTree / SpiderMonkey AST
|
||||
|
||||
UglifyJS has its own abstract syntax tree format; for
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"homepage": "http://lisperator.net/uglifyjs",
|
||||
"author": "Mihai Bazon <mihai.bazon@gmail.com> (http://lisperator.net/)",
|
||||
"license": "BSD-2-Clause",
|
||||
"version": "3.0.6",
|
||||
"version": "3.0.7",
|
||||
"engines": {
|
||||
"node": ">=0.8.0"
|
||||
},
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
exports["Dictionary"] = Dictionary;
|
||||
exports["TreeWalker"] = TreeWalker;
|
||||
exports["TreeTransformer"] = TreeTransformer;
|
||||
exports["minify"] = minify;
|
||||
exports["_push_uniq"] = push_uniq;
|
||||
|
||||
Reference in New Issue
Block a user