Open bvaughn opened 9 years ago
I'll see what I can do to add it in. Thanks!
Line 17: var toast = _toasts[i]; The variable name toast is conflicting with function toast defined towards the end.
D'oh. That's what I get for trying to do a quick clean-up before copying over my patch. Sorry about that. Updated my comment.
First off, Flashr is nice. Thanks for creating it!
UI Router is also nice, so it'd be great if Flashr supported it out of the box. Supporting it would be as simple as responding to either
$stateChangeSuccess
or$routeChangeSuccess
events, so for instance:Another small change I made locally (that you might consider making?) would be to clear current (
now
) messages when a state change is initiated, so: