Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;(function(){
- "use strict";
- // extend your own app object of a library $config
- idea.configs = le.$configs();
- // this is how set a new value
- idea.configs.$set.REST_API = "/author/rest/v2/";
- idea.configs.$set.SOCKET_API = "/socket/io/v39";
- idea.configs.$set.LANGUAGE_DEFAULT = "EN";
- idea.configs.$set.KEYBOARD_TYPE = "Ember";
- idea.configs.$set.IS_DEVELOPMENT = true;
- // this is how to get a new value
- console.info(idea.configs.$get.REST_API);
- console.info(idea.configs.$get.IS_DEVELOPMENT);
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement