AmpersandJS / ampersand

Quickest way to get started with ampersand.
MIT License
812 stars 41 forks source link

Lost scope in view-switcher with update ampersand-state from 5.0.1 to 5.0.2 #122

Closed kremin closed 8 years ago

kremin commented 8 years ago

I use ampersand-view-switcher more or less like in the example docs.

after the update ampersand-state from 5.0.1 to 5.0.2 the view switcher lost his scope in line 78 in view remove life-cycle : _onViewRemove. "this" is not the switcher instance but the current view.

after downgrade to 5.0.1 everything works fine.