Permalink
Browse files

json from jsonify not JSON

  • Loading branch information...
1 parent 4a78908 commit 80475a0966745cb0881761710d623e1abf456e2e @substack committed May 18, 2012
Showing with 3 additions and 3 deletions.
  1. +2 −2 index.js
  2. +1 −1 package.json
View
4 index.js
@@ -268,7 +268,7 @@ Stack.prototype.compile = function (context, opts) {
+ '.apply(this, arguments)'
) + '};'
+ name + '.toString = function () {'
- + 'return ' + JSON.stringify(original)
+ + 'return ' + json.stringify(original)
+ '};'
+ 'return ' + name
+ '})()'
@@ -296,7 +296,7 @@ Stack.prototype.compile = function (context, opts) {
)
+ '}; '
+ name + '.toString = function () {'
- + 'return ' + JSON.stringify(original)
+ + 'return ' + json.stringify(original)
+ '}'
+ '};'
;
View
2 package.json
@@ -1,7 +1,7 @@
{
"name" : "stackedy",
"description" : "Roll your own stack traces and control program execution through AST manipulation",
- "version" : "0.1.9",
+ "version" : "0.1.10",
"repository" : {
"type" : "git",
"url" : "git://github.com/substack/node-stackedy.git"

0 comments on commit 80475a0

Please sign in to comment.