Fix removeBranch function definition

This commit is contained in:
Blake Grotewold
2015-07-25 20:23:35 -04:00
parent 3cbb049a7e
commit 95cf44c2f2
+1 -1
View File
@@ -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 +'"]');