Front end of the Slack clone application.
jpsp91 07dd8af64f root page set 6 years ago
..
spec root page set 6 years ago
.npmignore root page set 6 years ago
.travis.yml root page set 6 years ago
LICENSE root page set 6 years ago
README.md root page set 6 years ago
index.js root page set 6 years ago
package.json root page set 6 years ago

README.md

es3ify

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