Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix for inline function expressions

  • Loading branch information...
commit 1746326b669a59bfd2067497dd5ee973fd0730fa 1 parent 34dbb7a
@substack authored
Showing with 3 additions and 2 deletions.
  1. +2 −1  lib/terminated.js
  2. +1 −1  package.json
View
3  lib/terminated.js
@@ -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
2  package.json
@@ -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" : {
Please sign in to comment.
Something went wrong with that request. Please try again.