* Map (JS 1.6 compatibility)
* @param {Function} function to call
*/
- map : function(fun /*, thisp*/)
+ map : function(fun )
{
var len = this.length >>> 0;
if (typeof fun != "function")
});
-
-if (!Array.prototype.map)
-{
- Array.prototype.
-}/*
+ /*
* Based on:
* Ext JS Library 1.1.1
* Copyright(c) 2006-2007, Ext JS, LLC.
*/
setStyle : function(prop, value){
if(typeof prop == "string"){
+
+ if (prop == 'float') {
+ this.setStyle(Roo.isIE ? 'styleFloat' : 'cssFloat', value);
+ return this;
+ }
+
var camel;
if(!(camel = propCache[prop])){
camel = propCache[prop] = prop.replace(camelRe, camelFn);
}
+
if(camel == 'opacity') {
this.setOpacity(value);
}else{