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
I am using another package called showdown.js which also has var forEach.. defined. It is overwriting the one declared in the angular-ui-states.js library which is throwing an exception. I fixed this by enclosing the entire angular-ui-states.js library in a closure:
Hm, the anonymous function used to be there... looks like with the change to grunt 0.4 those snippets from the grunt file aren't being included anymore...
Several variables are defined at the top of angular-ui-states.js. These variables are essentially global as the file is not wrapped in a closure.
I am using another package called showdown.js which also has var forEach.. defined. It is overwriting the one declared in the angular-ui-states.js library which is throwing an exception. I fixed this by enclosing the entire angular-ui-states.js library in a closure:
The text was updated successfully, but these errors were encountered: