Permalink
Browse files

fix for inline function expressions

  • Loading branch information...
1 parent 34dbb7a commit 1746326b669a59bfd2067497dd5ee973fd0730fa @substack committed Jun 13, 2012
Showing with 3 additions and 2 deletions.
  1. +2 −1 lib/terminated.js
  2. +1 −1 package.json
View
@@ -3,7 +3,8 @@ var termExps = [
'CallExpression',
'BinaryExpression',
'UpdateExpression',
- 'UnaryExpression'
+ 'UnaryExpression',
+ 'FunctionExpression'
].reduce(function (acc, key) { acc[key] = true; return acc }, {});
module.exports = function (node) {
View
@@ -1,6 +1,6 @@
{
"name" : "prompter",
- "version" : "0.0.2",
+ "version" : "0.0.3",
"description" : "create json files, prompting for input and evaluating expressions",
"main" : "index.js",
"bin" : {

0 comments on commit 1746326

Please sign in to comment.