javascript - Making azuremobileclient globally accessible in Ember.js -


i using ember-app-kit build spa , using azure mobile services on backend of hold data. forced declaring:

var client = new windowsazure.mobileserviceclient(         "xxxxxx",         "xxxxxx"         ); 

i have been doing declaration in of models , controllers. how can make globally relevant application?


Comments

Popular posts from this blog

c++11 - Intel compiler and "cannot have an in-class initializer" when using constexpr -

rest - Spring boot: Request method 'PUT' not supported -

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -