We can't guarantee what order getRoute calls will finish in so relying on global state is dangerous - capture it in the closure instead so that each route knows what it is doing. |
||
---|---|---|
.. | ||
assets | ||
controllers | ||
helpers | ||
models | ||
views |
We can't guarantee what order getRoute calls will finish in so relying on global state is dangerous - capture it in the closure instead so that each route knows what it is doing. |
||
---|---|---|
.. | ||
assets | ||
controllers | ||
helpers | ||
models | ||
views |