Skip to content

Instantly share code, notes, and snippets.

@ondrek
Created April 16, 2015 08:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ondrek/e33d9ef8000f73a2d6f3 to your computer and use it in GitHub Desktop.
Save ondrek/e33d9ef8000f73a2d6f3 to your computer and use it in GitHub Desktop.
;(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);
})();
@ondrek
Copy link
Author

ondrek commented Apr 16, 2015

kde idea je samozrejme nejaka tvoja appka alebo co

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment