From: Alan Knowles Date: Tue, 3 Aug 2021 10:49:05 +0000 (+0800) Subject: sync X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=be547f2b703b9200677357c92f2c29d6dfc82e48 sync --- diff --git a/Roo/ComponentMgr.js b/Roo/ComponentMgr.js index 44d0ea945e..36c1649d7c 100644 --- a/Roo/ComponentMgr.js +++ b/Roo/ComponentMgr.js @@ -13,7 +13,7 @@ /** * @class Roo.ComponentMgr * Provides a common registry of all components on a page so that they can be easily accessed by component id (see {@link Roo.getCmp}). - * @singleton + * @static */ Roo.ComponentMgr = function(){ var all = new Roo.util.MixedCollection(); diff --git a/Roo/DomHelper.js b/Roo/DomHelper.js index 194a6c4913..f12b8885d3 100644 --- a/Roo/DomHelper.js +++ b/Roo/DomHelper.js @@ -29,7 +29,7 @@ * @class Roo.DomHelper * Utility class for working with DOM and/or Templates. It transparently supports using HTML fragments or DOM. * For more information see this blog post with examples. - * @singleton + * @static */ Roo.DomHelper = function(){ var tempTableEl = null; diff --git a/Roo/DomQuery.js b/Roo/DomQuery.js index 25137a05eb..f26e29e8b3 100644 --- a/Roo/DomQuery.js +++ b/Roo/DomQuery.js @@ -73,7 +73,7 @@ All selectors, attribute filters and pseudos below can be combined infinitely in
  • E{display%=2} css value "display" that is evenly divisible by 2
  • E{display!=none} css value "display" that does not equal "none"
  • - * @singleton + * @static */ Roo.DomQuery = function(){ var cache = {}, simpleCache = {}, valueCache = {}; diff --git a/Roo/EventManager.js b/Roo/EventManager.js index d23defd6b4..3f11dd64db 100644 --- a/Roo/EventManager.js +++ b/Roo/EventManager.js @@ -14,7 +14,7 @@ * Registers event handlers that want to receive a normalized EventObject instead of the standard browser event and provides * several useful events directly. * See {@link Roo.EventObject} for more details on normalized event objects. - * @singleton + * @static */ Roo.EventManager = function(){ var docReadyEvent, docReadyProcId, docReadyState = false; diff --git a/Roo/util/Format.js b/Roo/util/Format.js index 6afc6ffdec..6c9b888a8e 100644 --- a/Roo/util/Format.js +++ b/Roo/util/Format.js @@ -12,7 +12,7 @@ /** * @class Roo.util.Format * Reusable data formatting functions - * @singleton + * @static */ Roo.util.Format = function(){ var trimRe = /^\s+|\s+$/g; diff --git a/Roo/util/JSON.js b/Roo/util/JSON.js index 5dc12aa293..4bcd6918a0 100644 --- a/Roo/util/JSON.js +++ b/Roo/util/JSON.js @@ -13,7 +13,7 @@ * Modified version of Douglas Crockford"s json.js that doesn"t * mess with the Object prototype * http://www.json.org/js.html - * @singleton + * @static */ Roo.util.JSON = new (function(){ var useHasOwn = {}.hasOwnProperty ? true : false;