diff --git a/lib/client/ie.js b/lib/client/ie.js
index 3bc3a80f..e9642c01 100644
--- a/lib/client/ie.js
+++ b/lib/client/ie.js
@@ -5,8 +5,27 @@ var CloudCommander, $;
"use strict";
/* setting head ie6 - ie8 */
- if(!document.head)
+ if(!document.head){
document.head = document.getElementsByTagName("head")[0];
+
+ /*
+ {name: '', src: ' ',func: '', style: '', id: '', parent: '',
+ async: false, inner: 'id{color:red, }, class:'', not_append: false}
+ */
+ lUtil.cssSet = function(pParams_o){
+ var lElement = '';
+
+ return $(lElement)
+ .appendTo(pParams_o.parent || document.head);
+ };
+ }
var lUtil = CloudCommander.Util;
@@ -15,47 +34,18 @@ var CloudCommander, $;
return $.proxy(pFunction, pContext);
};
- lUtil.getByClass = function(pClass, pElement){
- var lClass = '.' + pClass;
- var lResult;
-
- if(pElement)
- lResult = $(pElement).find(lClass);
- else lResult = $.find(lClass);
-
- return lResult;
- };
-
- lUtil.cssSet = function(pParams_o){
- var lElement = '';
- return window.jQuery(lElement)
- .appendTo(pParams_o.parent || document.head);
-
+ return lResult;
};
- /*
- {name: '', src: ' ',func: '', style: '', id: '', parent: '',
- async: false, inner: 'id{color:red, }, class:'', not_append: false}
- */
- lUtil.cssSet = function(pParams_o){
- var lElement = '';
-
- return $(lElement)
- .appendTo(pParams_o.parent || document.head);
- },
+ }
lUtil.scrollIntoViewIfNeeded = function(el){