Skip to content

Commit

Permalink
Fix removeBranch function definition
Browse files Browse the repository at this point in the history
  • Loading branch information
groteworld committed Jul 26, 2015
1 parent 3cbb049 commit 95cf44c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/state_manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ var StateManager = {
}
},

removeBranch(stateName, noEvent) {
removeBranch: function(stateName, noEvent) {
for(var i in $SM.get(stateName)){
if(typeof $SM.get(stateName)[i] == 'object'){
$SM.removeBranch(stateName +'["'+ i +'"]');
Expand Down

0 comments on commit 95cf44c

Please sign in to comment.