summaryrefslogtreecommitdiff
path: root/themes/test/public/js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2016-09-29 12:13:19 -0400
committerJules Laplace <jules@okfoc.us>2016-09-29 12:13:19 -0400
commitd4f9c31a1721fdea6b92ae90ca5c4bd8635fd0cb (patch)
tree4c8c73d15c77f4d79313ecb45fc650d43f65235f /themes/test/public/js
parent50fac2191fbf0dd101d6071242c03dfad295b3ed (diff)
v0.2.0 - new admin theme
Diffstat (limited to 'themes/test/public/js')
-rw-r--r--themes/test/public/js/app.js15
1 files changed, 15 insertions, 0 deletions
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