AlexGalays / abyssa-js

Framework agnostic hierarchical router for single page applications
MIT License
71 stars 9 forks source link

Cannot override data #16

Closed pauldijou closed 10 years ago

pauldijou commented 10 years ago

Hey,

Regarding this line : https://github.com/AlexGalays/abyssa-js/blob/master/src/State.js#L157

Is there a specific reason to prevent overriding a data key? I would like to assign a new value each time I enter the State, fetching data in ajax.

I cannot use "enterPrereqs" since I want the State to be entered immediately, using a spinner, whatever the promise complete or not.

AlexGalays commented 10 years ago

That line seems stupid...

AlexGalays commented 10 years ago

There! e0ec9d99ac269aa9734f43527573ddc19a66e5e4