From 37d22ae7d8018e8e43b4e52068c35612a2c547e5 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Tue, 13 May 2014 02:27:08 -0400 Subject: [PATCH] refactor(rest) doNotLog -> notLog --- lib/client/rest.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/client/rest.js b/lib/client/rest.js index aa499f64..c74f018b 100644 --- a/lib/client/rest.js +++ b/lib/client/rest.js @@ -88,7 +88,8 @@ var Util, DOM, CloudFunc, CloudCmd; method : 'GET', url : '/config', callback : callback, - imgPosition : { top: true } + imgPosition : { top: true }, + notLog : true }); }, @@ -110,7 +111,7 @@ var Util, DOM, CloudFunc, CloudCmd; url : '/markdown' + url, callback : callback, imgPosition : { top: true }, - doNotLog : true + notLog : true }); }, @@ -121,7 +122,7 @@ var Util, DOM, CloudFunc, CloudCmd; data : data, callback : callback, imgPosition : { top: true }, - doNotLog : true + notLog : true }); } }; @@ -152,7 +153,7 @@ var Util, DOM, CloudFunc, CloudCmd; success : function(data) { Images.hide(); - if (!p.doNotLog) + if (!p.notLog) Util.log(data); Util.exec(p.callback, data);