From d37c0b8c7460ecdb359d17a73597f3b4936afa40 Mon Sep 17 00:00:00 2001 From: leon Date: Fri, 17 Jun 2022 12:22:47 +0800 Subject: [PATCH] roojs-core.js roojs-core-debug.js roojs-ui.js roojs-ui-debug.js roojs-all.js roojs-debug.js --- roojs-all.js | 2 +- roojs-core-debug.js | 2 +- roojs-core.js | 2 +- roojs-debug.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/roojs-all.js b/roojs-all.js index 1a92c44c6e..83a6d6b0c5 100644 --- a/roojs-all.js +++ b/roojs-all.js @@ -305,7 +305,7 @@ break;}}if(N){r[++ri]=ci;}}return r;},"contains":function(c,v){var r=[],ri=-1;fo },"next":function(c,ss){var is=Roo.DomQuery.is;var r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){var n=next(ci);if(n&&is(n,ss)){r[++ri]=ci;}}return r;},"prev":function(c,ss){var is=Roo.DomQuery.is;var r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){var n=prev(ci);if(n&&is(n,ss)){r[++ri]=ci; }}return r;}}};}();Roo.query=Roo.DomQuery.select; // Roo/util/Observable.js -Roo.util.Observable=function(A){console.log("UTIL OBSERVABLE CONSTRUCTOR");consolg.log("config");A=A||{};this.addEvents(A.events||{});if(A.events){delete A.events;}Roo.apply(this,A);if(this.listeners){this.on(this.listeners);delete this.listeners;}};Roo.util.Observable.prototype={fireEvent:function(){var ce=this.events[arguments[0].toLowerCase()]; +Roo.util.Observable=function(A){console.log("UTIL OBSERVABLE CONSTRUCTOR");console.log("config");A=A||{};this.addEvents(A.events||{});if(A.events){delete A.events;}Roo.apply(this,A);if(this.listeners){this.on(this.listeners);delete this.listeners;}};Roo.util.Observable.prototype={fireEvent:function(){var ce=this.events[arguments[0].toLowerCase()]; if(typeof ce=="object"){return ce.fire.apply(ce,Array.prototype.slice.call(arguments,1));}else{return true;}},filterOptRe:/^(?:scope|delay|buffer|single)$/,addListener:function(A,fn,B,o){if(typeof A=="object"){o=A;for(var e in o){if(this.filterOptRe.test(e)){continue; }if(typeof o[e]=="function"){this.addListener(e,o[e],o.scope,o);}else{this.addListener(e,o[e].fn,o[e].scope,o[e]);}}return;}o=(!o||typeof o=="boolean")?{}:o;A=A.toLowerCase();var ce=this.events[A]||true;if(typeof ce=="boolean"){ce=new Roo.util.Event(this,A); this.events[A]=ce;}ce.addListener(fn,B,o);},removeListener:function(A,fn,B){var ce=this.events[A.toLowerCase()];if(typeof ce=="object"){ce.removeListener(fn,B);}},purgeListeners:function(){for(var A in this.events){if(typeof this.events[A]=="object"){this.events[A].clearListeners(); diff --git a/roojs-core-debug.js b/roojs-core-debug.js index f4d85286bc..9f8668afa5 100644 --- a/roojs-core-debug.js +++ b/roojs-core-debug.js @@ -7125,7 +7125,7 @@ Roo.query = Roo.DomQuery.select; Roo.util.Observable = function(cfg){ console.log("UTIL OBSERVABLE CONSTRUCTOR"); - consolg.log("config"); + console.log("config"); cfg = cfg|| {}; this.addEvents(cfg.events || {}); diff --git a/roojs-core.js b/roojs-core.js index 988cfa436a..90a9691508 100644 --- a/roojs-core.js +++ b/roojs-core.js @@ -305,7 +305,7 @@ break;}}if(N){r[++ri]=ci;}}return r;},"contains":function(c,v){var r=[],ri=-1;fo },"next":function(c,ss){var is=Roo.DomQuery.is;var r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){var n=next(ci);if(n&&is(n,ss)){r[++ri]=ci;}}return r;},"prev":function(c,ss){var is=Roo.DomQuery.is;var r=[],ri=-1;for(var i=0,ci;ci=c[i];i++){var n=prev(ci);if(n&&is(n,ss)){r[++ri]=ci; }}return r;}}};}();Roo.query=Roo.DomQuery.select; // Roo/util/Observable.js -Roo.util.Observable=function(A){console.log("UTIL OBSERVABLE CONSTRUCTOR");consolg.log("config");A=A||{};this.addEvents(A.events||{});if(A.events){delete A.events;}Roo.apply(this,A);if(this.listeners){this.on(this.listeners);delete this.listeners;}};Roo.util.Observable.prototype={fireEvent:function(){var ce=this.events[arguments[0].toLowerCase()]; +Roo.util.Observable=function(A){console.log("UTIL OBSERVABLE CONSTRUCTOR");console.log("config");A=A||{};this.addEvents(A.events||{});if(A.events){delete A.events;}Roo.apply(this,A);if(this.listeners){this.on(this.listeners);delete this.listeners;}};Roo.util.Observable.prototype={fireEvent:function(){var ce=this.events[arguments[0].toLowerCase()]; if(typeof ce=="object"){return ce.fire.apply(ce,Array.prototype.slice.call(arguments,1));}else{return true;}},filterOptRe:/^(?:scope|delay|buffer|single)$/,addListener:function(A,fn,B,o){if(typeof A=="object"){o=A;for(var e in o){if(this.filterOptRe.test(e)){continue; }if(typeof o[e]=="function"){this.addListener(e,o[e],o.scope,o);}else{this.addListener(e,o[e].fn,o[e].scope,o[e]);}}return;}o=(!o||typeof o=="boolean")?{}:o;A=A.toLowerCase();var ce=this.events[A]||true;if(typeof ce=="boolean"){ce=new Roo.util.Event(this,A); this.events[A]=ce;}ce.addListener(fn,B,o);},removeListener:function(A,fn,B){var ce=this.events[A.toLowerCase()];if(typeof ce=="object"){ce.removeListener(fn,B);}},purgeListeners:function(){for(var A in this.events){if(typeof this.events[A]=="object"){this.events[A].clearListeners(); diff --git a/roojs-debug.js b/roojs-debug.js index c7968c42eb..0d76212376 100644 --- a/roojs-debug.js +++ b/roojs-debug.js @@ -7125,7 +7125,7 @@ Roo.query = Roo.DomQuery.select; Roo.util.Observable = function(cfg){ console.log("UTIL OBSERVABLE CONSTRUCTOR"); - consolg.log("config"); + console.log("config"); cfg = cfg|| {}; this.addEvents(cfg.events || {}); -- 2.39.2