Tennessee Gibbs 0304752480 added pages to master | 6 years ago | |
---|---|---|
.. | ||
spec | 6 years ago | |
.npmignore | 6 years ago | |
.travis.yml | 6 years ago | |
LICENSE | 6 years ago | |
README.md | 6 years ago | |
index.js | 6 years ago | |
package.json | 6 years ago |
Browserify transform to convert quote reserved words in property keys for compatibility with ES3 JavaScript engines like IE8. In addition, trailing commas in array and object literals are removed.
// In
var x = {class: 2,};
x.class = [3, 4,];
// Out:
var x = {"class": 2};
x["class"] = [3, 4];
Run tests with:
npm install -g jasmine-node
jasmine-node spec