es3ify
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -125,3 +125,6 @@ var Syntax = require('esprima-fb').Syntax; | ||
module.exports = process; | ||
module.exports.isReserved = function(word) { | ||
return reservedDict.hasOwnProperty(word) ? !!reservedDict[word] : false; | ||
}; | ||
module.exports.transform = transform; | ||
module.exports.visitorList = visitorList; |
{ | ||
"name": "es3ify", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "Browserify transform to convert ES5 syntax to be ES3-compatible.", | ||
@@ -11,2 +11,5 @@ "main": "index.js", | ||
}, | ||
"devDependencies": { | ||
"jasmine-node": "~1.13.1" | ||
}, | ||
"repository": { | ||
@@ -16,2 +19,5 @@ "type": "git", | ||
}, | ||
"scripts": { | ||
"test": "jasmine-node spec" | ||
}, | ||
"homepage": "https://github.com/spicyj/es3ify", | ||
@@ -18,0 +24,0 @@ "author": { |
@@ -5,3 +5,3 @@ # es3ify | ||
``` javascript | ||
```javascript | ||
// In | ||
@@ -15,1 +15,8 @@ var x = {class: 2,}; | ||
``` | ||
Run tests with: | ||
```sh | ||
npm install -g jasmine-node | ||
jasmine-node spec | ||
``` |
7488
7
143
21
1