From d4f9c31a1721fdea6b92ae90ca5c4bd8635fd0cb Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 29 Sep 2016 12:13:19 -0400 Subject: v0.2.0 - new admin theme --- themes/test/public/js/app.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 themes/test/public/js/app.js (limited to 'themes/test/public/js') diff --git a/themes/test/public/js/app.js b/themes/test/public/js/app.js new file mode 100644 index 0000000..1e710e9 --- /dev/null +++ b/themes/test/public/js/app.js @@ -0,0 +1,15 @@ +var app = (function(){ + var app = {} + var cms + + app.init = function(){ + cms = app.cms = new OKCMS ({ ready: app.ready }) + } + app.ready = function(){ + console.log ("READY") + } + + return app +})() + +window.addEventListener("DOMContentLoaded", app.init) \ No newline at end of file -- cgit v1.2.3-70-g09d2