From 2320dac923dada39f7c29f18414a657115c306a0 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Thu, 5 Oct 2017 14:58:13 -0400 Subject: [PATCH] Adding notes to readme. readme.md --- readme.md | 36 +++++++++++++++++++++++++++++++++--- 1 file changed, 33 insertions(+), 3 deletions(-) diff --git a/readme.md b/readme.md index 311c975..880b797 100644 --- 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 -- 2.17.1