diff options
author | Alex Xu <alex_y_xu@yahoo.ca> | 2014-03-30 13:42:48 -0400 |
---|---|---|
committer | Alex Xu <alex_y_xu@yahoo.ca> | 2014-03-30 14:03:21 -0400 |
commit | ffebbcd2dee04b8c06e90432618e0e013ac5b7dc (patch) | |
tree | 7d7d0125b38c67592eb3252b580ecadb6b752512 /unrpyc/fix.js | |
parent | 3adce8c047fb433702223e3fca1c5463f98e4805 (diff) | |
download | html5ks-ffebbcd2dee04b8c06e90432618e0e013ac5b7dc.tar.xz html5ks-ffebbcd2dee04b8c06e90432618e0e013ac5b7dc.zip |
unrpyc -> ast2json
Diffstat (limited to 'unrpyc/fix.js')
-rwxr-xr-x | unrpyc/fix.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/unrpyc/fix.js b/unrpyc/fix.js deleted file mode 100755 index 88a9646..0000000 --- a/unrpyc/fix.js +++ /dev/null @@ -1,6 +0,0 @@ -var fs = require('fs'); - -fs.readFile(process.argv[2], function (err, data) { - if (err) throw err; - fs.writeFile(process.argv[3], JSON.stringify(eval('(' + data + ')'))); -}); |