ember.js - Swapping the stores -


i wondering if swap stores somewhere in initializer. thing is, want check window.navigator object something, , decide store ember-simple-auth should use.

thanks.

you can in initializer runs before 'simple-auth' initializer , modifies app's env (env['simple-auth'].store value you'd want set).


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -