0.0.3 • Published 11 years ago

es-safe-ie v0.0.3

Weekly downloads
2
License
-
Repository
github
Last release
11 years ago

es-safe-ie

AST transformations to make JS safe for IE 8 and lower.

For example from:

foo.finally();

to:

foo['finally']();

Usage

var transform = require('es-safe-ie');
transform(ast);

or on the command line:

$ cat script.js
foo.finally();
$ esparse script.js | es-safe-ie | uglify --spidermonkey
foo["finally"]();
0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago