Rename Event listener
Remove hacks
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
- Ver de que algunos de los colores de las paleta sean los utilizados.
|
||||
- Resize de la ventana ajuste el workspace
|
||||
- Fixiar metodo de drag del workspace...
|
||||
- Cambiar el nodo on type
|
||||
- f2
|
||||
- documentar el select and unselect all
|
||||
|
||||
- documentar el select , unselect all y otros
|
||||
- Implementar el f1
|
||||
- Ver como re-implementar el log4j para que vuelva loguear los errores en el server. Se borro por que pesa mucho.
|
@@ -13,7 +13,7 @@
|
||||
|
||||
<!--<script type='text/javascript' src='../js/wiseLibrary.js'></script>-->
|
||||
|
||||
<script type='text/javascript' src='../js/mootools-core-1.3.2-full-compat.js'></script>
|
||||
<script type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/mootools/1.3.2/mootools-yui-compressed.js'></script>
|
||||
<script type='text/javascript' src='../js/mootools-more-1.3.2.1-yui.js'></script>
|
||||
|
||||
<!--<script type='text/javascript' src='../js/common.js'></script>-->
|
||||
|
@@ -68,7 +68,7 @@ return false
|
||||
}if(!Log4js.loggers[categoryName]){Log4js.loggers[categoryName]=new Log4js.Logger(categoryName)
|
||||
}return Log4js.loggers[categoryName]
|
||||
},getDefaultLogger:function(){return Log4js.getLogger("[default]")
|
||||
},attachEvent:function(element,name,observer){if(element.addEventListener){element.addEventListener(name,observer,false)
|
||||
},attachEvent:function(element,name,observer){if(element.addEvent){element.addEvent(name,observer,false)
|
||||
}else{if(element.attachEvent){element.attachEvent("on"+name,observer)
|
||||
}}}};
|
||||
Log4js.extend=function(destination,source){for(property in source){destination[property]=source[property]
|
||||
|
@@ -11,6 +11,6 @@ function C(){var b=document.getElementsByTagName(hb);for(var c=0,d=b.length;c<d;
|
||||
function D(a){var b=s[a];return b==null?null:b}
|
||||
function E(a,b){var c=v;for(var d=0,e=a.length-1;d<e;++d){c=c[a[d]]||(c[a[d]]=[])}c[a[e]]=b}
|
||||
function F(a){var b=u[a](),c=t[a];if(b in c){return b}var d=[];for(var e in c){d[c[e]]=e}if(y){y(a,d,b)}throw null}
|
||||
u[tb]=function(){var c=navigator.userAgent.toLowerCase();var d=function(a){return parseInt(a[1])*1000+parseInt(a[2])};if(function(){return c.indexOf(ub)!=-1}())return ub;if(function(){return c.indexOf(vb)!=-1||function(){if(c.indexOf(wb)!=-1){return true}if(typeof window[xb]!=bb){try{var b=new ActiveXObject(yb);if(b){b.registerBhoIfNeeded();return true}}catch(a){}}return false}()}())return zb;if(function(){return c.indexOf(Ab)!=-1&&m.documentMode>=9}())return Bb;if(function(){return c.indexOf(Ab)!=-1&&m.documentMode>=8}())return Cb;if(function(){var a=/msie ([0-9]+)\.([0-9]+)/.exec(c);if(a&&a.length==3)return d(a)>=6000}())return Db;if(function(){return c.indexOf(Eb)!=-1}())return Fb;return Gb};t[tb]={gecko1_8:0,ie6:1,ie8:2,ie9:3,opera:4,safari:5};jsapi.onScriptLoad=function(a){jsapi.onScriptLoad=null;p=a;A()};if(z()){alert(Hb+Ib);return}C();B();n&&n({moduleName:M,sessionId:o,subSystem:N,evtGroup:O,millis:(new Date).getTime(),type:Jb});var G;try{E([Db],Kb);E([zb],Lb);E([ub],Mb);E([Fb],Nb);E([Cb],Ob);E([Bb],Pb);G=v[F(tb)];var H=G.indexOf(Qb);if(H!=-1){w=Number(G.substring(H+1));G=G.substring(0,H)}}catch(a){return}var I;function J(){if(!q){q=true;A();if(m.removeEventListener){m.removeEventListener(Rb,J,false)}if(I){clearInterval(I)}}}
|
||||
if(m.addEventListener){m.addEventListener(Rb,function(){J()},false)}var I=setInterval(function(){if(/loaded|complete/.test(m.readyState)){J()}},50);n&&n({moduleName:M,sessionId:o,subSystem:N,evtGroup:O,millis:(new Date).getTime(),type:U});n&&n({moduleName:M,sessionId:o,subSystem:N,evtGroup:Sb,millis:(new Date).getTime(),type:P});var K=Tb+r+G+Ub;m.write(Vb+Wb+Xb+Yb+Zb+$b+_b+Yb+Zb+ac+bc+cc+K+dc+ec+fc+gc)}
|
||||
u[tb]=function(){var c=navigator.userAgent.toLowerCase();var d=function(a){return parseInt(a[1])*1000+parseInt(a[2])};if(function(){return c.indexOf(ub)!=-1}())return ub;if(function(){return c.indexOf(vb)!=-1||function(){if(c.indexOf(wb)!=-1){return true}if(typeof window[xb]!=bb){try{var b=new ActiveXObject(yb);if(b){b.registerBhoIfNeeded();return true}}catch(a){}}return false}()}())return zb;if(function(){return c.indexOf(Ab)!=-1&&m.documentMode>=9}())return Bb;if(function(){return c.indexOf(Ab)!=-1&&m.documentMode>=8}())return Cb;if(function(){var a=/msie ([0-9]+)\.([0-9]+)/.exec(c);if(a&&a.length==3)return d(a)>=6000}())return Db;if(function(){return c.indexOf(Eb)!=-1}())return Fb;return Gb};t[tb]={gecko1_8:0,ie6:1,ie8:2,ie9:3,opera:4,safari:5};jsapi.onScriptLoad=function(a){jsapi.onScriptLoad=null;p=a;A()};if(z()){alert(Hb+Ib);return}C();B();n&&n({moduleName:M,sessionId:o,subSystem:N,evtGroup:O,millis:(new Date).getTime(),type:Jb});var G;try{E([Db],Kb);E([zb],Lb);E([ub],Mb);E([Fb],Nb);E([Cb],Ob);E([Bb],Pb);G=v[F(tb)];var H=G.indexOf(Qb);if(H!=-1){w=Number(G.substring(H+1));G=G.substring(0,H)}}catch(a){return}var I;function J(){if(!q){q=true;A();if(m.removeEvent){m.removeEvent(Rb,J,false)}if(I){clearInterval(I)}}}
|
||||
if(m.addEvent){m.addEvent(Rb,function(){J()},false)}var I=setInterval(function(){if(/loaded|complete/.test(m.readyState)){J()}},50);n&&n({moduleName:M,sessionId:o,subSystem:N,evtGroup:O,millis:(new Date).getTime(),type:U});n&&n({moduleName:M,sessionId:o,subSystem:N,evtGroup:Sb,millis:(new Date).getTime(),type:P});var K=Tb+r+G+Ub;m.write(Vb+Wb+Xb+Yb+Zb+$b+_b+Yb+Zb+ac+bc+cc+K+dc+ec+fc+gc)}
|
||||
jsapi();
|
@@ -1338,7 +1338,7 @@ if (document.execCommand) try {
|
||||
} catch (e){}
|
||||
|
||||
/*<ltIE9>*/
|
||||
if (this.attachEvent && !this.addEventListener){
|
||||
if (this.attachEvent && !this.addEvent){
|
||||
var unloadEvent = function(){
|
||||
this.detachEvent('onunload', unloadEvent);
|
||||
document.head = document.html = document.window = null;
|
||||
@@ -3758,13 +3758,13 @@ Element.implement('hasChild', function(element){
|
||||
} else {
|
||||
collected[$uid(this)] = this;
|
||||
}
|
||||
if (this.addEventListener) this.addEventListener(type, fn, !!arguments[2]);
|
||||
if (this.addEvent) this.addEvent(type, fn, !!arguments[2]);
|
||||
else this.attachEvent('on' + type, fn);
|
||||
return this;
|
||||
},
|
||||
|
||||
removeListener: function(type, fn){
|
||||
if (this.removeEventListener) this.removeEventListener(type, fn, !!arguments[2]);
|
||||
if (this.removeEvent) this.removeEvent(type, fn, !!arguments[2]);
|
||||
else this.detachEvent('on' + type, fn);
|
||||
return this;
|
||||
},
|
||||
@@ -3790,7 +3790,7 @@ Element.implement('hasChild', function(element){
|
||||
});
|
||||
|
||||
/*<ltIE9>*/
|
||||
if (window.attachEvent && !window.addEventListener) window.addListener('unload', function(){
|
||||
if (window.attachEvent && !window.addEvent) window.addListener('unload', function(){
|
||||
Object.each(collected, clean);
|
||||
if (window.CollectGarbage) CollectGarbage();
|
||||
});
|
||||
|
@@ -1075,7 +1075,7 @@ if (document.execCommand) try {
|
||||
} catch (e){}
|
||||
|
||||
/*<ltIE9>*/
|
||||
if (this.attachEvent && !this.addEventListener){
|
||||
if (this.attachEvent && !this.addEvent){
|
||||
var unloadEvent = function(){
|
||||
this.detachEvent('onunload', unloadEvent);
|
||||
document.head = document.html = document.window = null;
|
||||
@@ -3348,13 +3348,13 @@ if (!document.createElement('div').contains) Element.implement(contains);
|
||||
} else {
|
||||
collected[$uid(this)] = this;
|
||||
}
|
||||
if (this.addEventListener) this.addEventListener(type, fn, !!arguments[2]);
|
||||
if (this.addEvent) this.addEvent(type, fn, !!arguments[2]);
|
||||
else this.attachEvent('on' + type, fn);
|
||||
return this;
|
||||
},
|
||||
|
||||
removeListener: function(type, fn){
|
||||
if (this.removeEventListener) this.removeEventListener(type, fn, !!arguments[2]);
|
||||
if (this.removeEvent) this.removeEvent(type, fn, !!arguments[2]);
|
||||
else this.detachEvent('on' + type, fn);
|
||||
return this;
|
||||
},
|
||||
@@ -3380,7 +3380,7 @@ if (!document.createElement('div').contains) Element.implement(contains);
|
||||
});
|
||||
|
||||
/*<ltIE9>*/
|
||||
if (window.attachEvent && !window.addEventListener) window.addListener('unload', function(){
|
||||
if (window.attachEvent && !window.addEvent) window.addListener('unload', function(){
|
||||
Object.each(collected, clean);
|
||||
if (window.CollectGarbage) CollectGarbage();
|
||||
});
|
||||
|
Reference in New Issue
Block a user