From c0a6d9bf759d657b6fa7a8a2ac1944e47a953d60 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Wed, 12 Feb 2014 05:02:14 -0500 Subject: [PATCH] refactor(client) bind -> Util.bind --- lib/client.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/client.js b/lib/client.js index b8d21e30..2ba96c49 100644 --- a/lib/client.js +++ b/lib/client.js @@ -138,7 +138,7 @@ var Util, DOM, CloudFunc; Util.loadOnLoad([ initModules, baseInit, - CloudCmd.route.bind(null, location.hash), + Util.bind(CloudCmd.route, location.hash) ]); }, lFunc = function(pCallBack) { @@ -192,7 +192,7 @@ var Util, DOM, CloudFunc; var i, n, module, storageObj, mod, name, path, STORAGE = 'storage', - showLoadFunc = Images.showLoad.bind(null, { + showLoadFunc = Util.bind(Images.showLoad, { top:true }),