Skip to content

Commit

Permalink
Cleared out the currentActionArgs at the end of the handle behavior. …
Browse files Browse the repository at this point in the history
…Ignored example directory for npm publishes. Updated npm scripts to include call-through for all gulp tasks.
  • Loading branch information
ifandelse committed Jun 25, 2016
1 parent c983473 commit 05ac25d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ component.json
bower*
coverage*
report*
example/*
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,11 @@
"build": "gulp",
"start": "gulp server",
"test": "./node_modules/mocha/bin/mocha -r spec/helpers/node-setup.js spec",
"mocha": "gulp mocha",
"coverage": "./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha -x 'spec/**/*' -- -r spec/helpers/node-setup.js spec spec/*.spec.js",
"show-coverage": "open ./coverage/lcov-report/index.html"
"show-coverage": "open ./coverage/lcov-report/index.html",
"lint": "gulp lint",
"format": "gulp format",
"watch": "gulp watch"
}
}
1 change: 1 addition & 0 deletions src/BehavioralFsm.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ _.extend( BehavioralFsm.prototype, {
}
clientMeta.priorAction = clientMeta.currentAction;
clientMeta.currentAction = "";
clientMeta.currentActionArgs = undefined;
}
}
return result;
Expand Down

0 comments on commit 05ac25d

Please sign in to comment.