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

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -