Skip to content

Commit 81b8fcc

Browse files
committed
model - rename from zoovyModel to zModel
1 parent 60489cc commit 81b8fcc

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

Diff for: app-admin-init.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ app.rq.push(['extension',0,'tools_animation','extensions/tools_animation.js', fu
4949
}]);
5050

5151
//required for init. don't change from 0.
52-
app.rq.push(['script',0,app.vars.baseURL+'model.js']); //'validator':function(){return (typeof zoovyModel == 'function') ? true : false;}}
52+
app.rq.push(['script',0,app.vars.baseURL+'model.js']); //'validator':function(){return (typeof zModel == 'function') ? true : false;}}
5353
app.rq.push(['script',0,app.vars.baseURL+'includes.js']); //','validator':function(){return (typeof handlePogs == 'function') ? true : false;}})
5454
app.rq.push(['script',0,app.vars.baseURL+'controller.js']);
5555

Diff for: app-analyzer-init.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ app.rq.push(['script',0,'resources/jquery.showloading-v1.0.jt.js']);
1212

1313
app.rq.push(['script',0,'resources/jquery.ui.anyplugins.js']); //in zero pass in case product page is first page.
1414

15-
app.rq.push(['script',0,'model.js']); //'validator':function(){return (typeof zoovyModel == 'function') ? true : false;}}
15+
app.rq.push(['script',0,'model.js']); //'validator':function(){return (typeof zModel == 'function') ? true : false;}}
1616
app.rq.push(['script',0,'includes.js']); //','validator':function(){return (typeof handlePogs == 'function') ? true : false;}})
1717
app.rq.push(['script',0,'controller.js']);
1818

Diff for: app-quickstart-init.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ app.rq.push(['extension',0,'cart_message','extensions/cart_message/extension.js'
2828
//app.rq.push(['extension',0,'magicToolBox_mzp','extensions/partner_magictoolbox_mzp.js','startExtension']); // (not working yet - ticket in to MTB)
2929

3030
app.rq.push(['script',0,(document.location.protocol == 'file:') ? app.vars.testURL+'jsonapi/config.js' : app.vars.baseURL+'jsonapi/config.js']); //The config.js is dynamically generated.
31-
app.rq.push(['script',0,app.vars.baseURL+'model.js']); //'validator':function(){return (typeof zoovyModel == 'function') ? true : false;}}
31+
app.rq.push(['script',0,app.vars.baseURL+'model.js']); //'validator':function(){return (typeof zModel == 'function') ? true : false;}}
3232

3333

3434
app.rq.push(['script',0,app.vars.baseURL+'controller.js']);

Diff for: controller.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jQuery.extend(zController.prototype, {
4646
// app = this;
4747
// this.u.dump(P);
4848
app = $.extend(true,P,this); //deep extend to make sure nested functions are preserved. If duplicates, 'this' will override P.
49-
app.model = zoovyModel(); // will return model as object. so references are app.model.dispatchThis et all.
49+
app.model = zModel(); // will return model as object. so references are app.model.dispatchThis et all.
5050
app.u.updatejQuerySupport(); //update the $.support object w/ some additional helpful info. Needs to be very early in the process since handleSession will use it.
5151

5252
app.vars = app.vars || {};

Diff for: model.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ The rest is in the controller or extension. The model will execute callbacks.CAL
4242
-> d is the data object returned by the server. one of the few cases the raw response is returned.
4343
4444
45-
execute the zoovyModel function from within the controller. ex: app.model = zoovyModel();
45+
execute the zModel function from within the controller. ex: app.model = zModel();
4646
-> this will return an object into the app.model namespace. ex: app.model.dispatchThis()
4747
4848
@@ -78,7 +78,7 @@ app.globalAjax.overrideAttempts - keeps track of how many times a dispatch has a
7878
app.globalAjax.lastDispatch - keeps track of when the last dispatch occurs. Not currently used for much, but could allow for some auto-passive dispatches when idle.
7979
*/
8080

81-
function zoovyModel() {
81+
function zModel() {
8282
var r = {
8383

8484

0 commit comments

Comments
 (0)