Advertisement
Guest User

Untitled

a guest
May 26th, 2015
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. ;(function(){
  2.  
  3. "use strict";
  4.  
  5. // extend your own app object of a library $config
  6. idea.configs = le.$configs();
  7.  
  8. // this is how set a new value
  9. idea.configs.$set.REST_API = "/author/rest/v2/";
  10. idea.configs.$set.SOCKET_API = "/socket/io/v39";
  11. idea.configs.$set.LANGUAGE_DEFAULT = "EN";
  12. idea.configs.$set.KEYBOARD_TYPE = "Ember";
  13. idea.configs.$set.IS_DEVELOPMENT = true;
  14.  
  15. // this is how to get a new value
  16. console.info(idea.configs.$get.REST_API);
  17. console.info(idea.configs.$get.IS_DEVELOPMENT);
  18.  
  19. })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement