Adding notes to readme.
authorSteve Sutton <steve@gaslightmedia.com>
Thu, 5 Oct 2017 18:58:13 +0000 (14:58 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Thu, 5 Oct 2017 18:58:13 +0000 (14:58 -0400)
readme.md

readme.md

index 311c975..880b797 100644 (file)
--- a/readme.md
+++ b/readme.md
@@ -7,6 +7,36 @@
 2. Run gulp default task
 * gulp
 
-### That's it
-Gulp will continue to watch the js files and concat/uglify them into one file
-js/regApp.js
+## That's it
+Gulp will continue to watch the js files and concat/uglify them into two files
+js/adminRegApp.js
+js/frontRegApp.js
+
+## js files
+The backbone.js app is setup into collections, models and views. Each of these have admin and front folders.
+
+* collections
+** admin
+** front
+
+* models
+** admin
+** front
+
+* views
+** admin
+** front
+
+## Front end
+Globals
+var regEvent = '';
+var cart = '';
+var loginAccount = '';.
+var app = {
+    Models: { Front: {}, Admin: {} },
+    Collections: { Front: {}, Admin: {} },
+    Views: { Front: {}, Admin: {} },
+}
+
+The models collections or views then get setup under app.
+ app.Views.Front.App = Backbone.View.extend