From: Steve Sutton Date: Thu, 5 Oct 2017 18:58:13 +0000 (-0400) Subject: Adding notes to readme. X-Git-Tag: v1.0.0^2~371 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=2320dac923dada39f7c29f18414a657115c306a0;p=WP-Plugins%2Fglm-member-db-registrations.git Adding notes to readme. readme.md --- 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