jpsp91 07dd8af64f root page set | 6 anos atrás | |
---|---|---|
.. | ||
spec | 6 anos atrás | |
.npmignore | 6 anos atrás | |
.travis.yml | 6 anos atrás | |
LICENSE | 6 anos atrás | |
README.md | 6 anos atrás | |
index.js | 6 anos atrás | |
package.json | 6 anos atrás |
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