Skip to content
Snippets Groups Projects
Commit 8b8ffbed authored by ezsh's avatar ezsh
Browse files

Add App namespace objects

parent 0ae1b48a
No related branches found
No related tags found
No related merge requests found
/*
* SugarCube executes scripts via eval() inside a closure. Thus to make App global,
* we declare it as a property of the window object. I don't know why 'App = {}'
* does not work.
*/
window.App = { };
// the same declaration for code parsers that don't line the line above
var App = App || {};
App.Entity = {};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment