From 258e14ca382b11de16bed823be0da97284ca3fed Mon Sep 17 00:00:00 2001 From: coderaiser Date: Thu, 26 Jul 2012 05:11:32 -0400 Subject: [PATCH] minor changes --- lib/client/viewer.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/client/viewer.js b/lib/client/viewer.js index 59cfa06d..7eee8900 100644 --- a/lib/client/viewer.js +++ b/lib/client/viewer.js @@ -39,8 +39,8 @@ CloudCommander.Viewer.FancyBox = { padding : 0 }; }), - load:(function(pParent){ - return function(){ + load: (function(pParent){ + return function(){ var ljsLoad_f = function(){ CloudCommander.jsload( 'http://fancyapps.com/fancybox/source/jquery.fancybox.pack.js',{ @@ -56,14 +56,14 @@ CloudCommander.Viewer.FancyBox = { func : { onload: ljsLoad_f, onerror: (function(){ - CloudCommander.cssLoad({ - src : pParent +'jquery.fancybox.css', - func : ljsLoad_f - }); + CloudCommander.cssLoad({ + src : pParent +'jquery.fancybox.css', + func : ljsLoad_f + }); }) } }); - }, + }; }), set: function(){ if(this.getByClass('fancybox').length)