You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
throw"event "+name+" innapropriate because previous transition ("+this.transition.event+") from "+this.transition.from+" to "+this.transition.to+" did not complete"
90
+
throw"event "+name+" innapropriate because previous transition did not complete"
98
91
99
92
if(this.cannot(name))
100
93
throw"event "+name+" innapropriate in current state "+this.current;
101
94
102
95
varfrom=this.current;
103
-
varto=map[from].to;
104
-
varself=this;
96
+
varto=map[from];
105
97
varargs=Array.prototype.slice.call(arguments);// turn arguments into pure array
this.transition=function(){// prepare transition method for use either lower down, or by caller if they want an async transition (indicated by a false return value from leaveState)
106
+
self.transition=null;// this method should only ever be called once
0 commit comments