mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-21 02:29:23 +00:00
From now jquery not necessary for Cloud Commander, so start load get faster
This commit is contained in:
parent
840abadf54
commit
7ad33a4617
4 changed files with 35 additions and 25 deletions
|
|
@ -13,6 +13,8 @@ var CloudCommander, $;
|
|||
/* setting head ie6 - ie8 */
|
||||
var lUtil = CloudCommander.Util;
|
||||
|
||||
lUtil.jqueryLoad();
|
||||
|
||||
/* setting function context (this) */
|
||||
lUtil.bind = function(pFunction, pContext){
|
||||
return $.proxy(pFunction, pContext);
|
||||
|
|
|
|||
|
|
@ -61,6 +61,8 @@ var CloudCommander, CloudFunc, $;
|
|||
* @pCallBack - executes, when everything loaded
|
||||
*/
|
||||
CloudCommander.Viewer.FancyBox.load = (function(pThis, pCallBack){
|
||||
Util.jqueryLoad();
|
||||
|
||||
var ljsLoad_f = function(){
|
||||
var lSrc = pThis.dir + 'jquery.fancybox.js';
|
||||
Util.jsload(lSrc,{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue