From e14a3bf7e9aa88c53def59563afceb97e945b314 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 3 Aug 2021 18:51:08 +0800 Subject: [PATCH] sync --- Roo/EventManager.js | 2 +- Roo/MessageBox.js | 2 +- Roo/QuickTips.js | 2 +- Roo/bootstrap/MessageBox.js | 2 +- Roo/bootstrap/menu/Manager.js | 2 +- Roo/data/SortTypes.js | 2 +- Roo/dd/DragDropMgr.js | 2 +- Roo/dd/Registry.js | 2 +- Roo/dd/ScrollManager.js | 2 +- Roo/form/VTypes.js | 2 +- Roo/menu/MenuMgr.js | 2 +- Roo/state/Manager.js | 2 +- Roo/util/CSS.js | 3 ++- Roo/util/TextMetrics.js | 2 +- docs/src/Roo_ComponentMgr.js.html | 2 +- docs/src/Roo_DomHelper.js.html | 2 +- docs/src/Roo_DomQuery.js.html | 2 +- docs/src/Roo_EventManager.js.html | 2 +- docs/src/Roo_util_Format.js.html | 2 +- docs/src/Roo_util_JSON.js.html | 2 +- docs/symbols/Roo.ComponentMgr.json | 2 +- docs/symbols/Roo.DomHelper.json | 2 +- docs/symbols/Roo.DomQuery.json | 2 +- docs/symbols/Roo.EventManager.json | 2 +- docs/symbols/Roo.util.Format.json | 2 +- docs/symbols/Roo.util.JSON.json | 2 +- 26 files changed, 27 insertions(+), 26 deletions(-) diff --git a/Roo/EventManager.js b/Roo/EventManager.js index 3f11dd64db..a2322c885e 100644 --- a/Roo/EventManager.js +++ b/Roo/EventManager.js @@ -576,7 +576,7 @@ Roo.onReady(function(){ Roo.EventManager.on("myDiv", 'click', handleClick); Roo.EventManager.addListener("myDiv", 'click', handleClick); - * @singleton + * @static */ Roo.EventObject = function(){ diff --git a/Roo/MessageBox.js b/Roo/MessageBox.js index 7562c5759d..a43dd34826 100644 --- a/Roo/MessageBox.js +++ b/Roo/MessageBox.js @@ -33,7 +33,7 @@ Roo.Msg.show({ animEl: 'elId' }); - * @singleton + * @static */ Roo.MessageBox = function(){ var dlg, opt, mask, waitTimer; diff --git a/Roo/QuickTips.js b/Roo/QuickTips.js index 31d6515a43..c5a52ae31e 100644 --- a/Roo/QuickTips.js +++ b/Roo/QuickTips.js @@ -11,7 +11,7 @@ /** * @class Roo.QuickTips * Provides attractive and customizable tooltips for any element. - * @singleton + * @static */ Roo.QuickTips = function(){ var el, tipBody, tipBodyText, tipTitle, tm, cfg, close, tagEls = {}, esc, removeCls = null, bdLeft, bdRight; diff --git a/Roo/bootstrap/MessageBox.js b/Roo/bootstrap/MessageBox.js index 76038e7b59..80a1ffdda9 100644 --- a/Roo/bootstrap/MessageBox.js +++ b/Roo/bootstrap/MessageBox.js @@ -28,7 +28,7 @@ Roo.Msg.show({ animEl: 'elId' }); - * @singleton + * @static */ Roo.bootstrap.MessageBox = function(){ var dlg, opt, mask, waitTimer; diff --git a/Roo/bootstrap/menu/Manager.js b/Roo/bootstrap/menu/Manager.js index 4e1172fcec..423efd01a9 100644 --- a/Roo/bootstrap/menu/Manager.js +++ b/Roo/bootstrap/menu/Manager.js @@ -2,7 +2,7 @@ * @class Roo.bootstrap.MenuMgr * @licence LGPL * Provides a common registry of all menu items on a page so that they can be easily accessed by id. - * @singleton + * @static */ Roo.bootstrap.menu.Manager = function(){ var menus, active, groups = {}, attached = false, lastShow = new Date(); diff --git a/Roo/data/SortTypes.js b/Roo/data/SortTypes.js index 473b2ce9c8..31c39f132b 100644 --- a/Roo/data/SortTypes.js +++ b/Roo/data/SortTypes.js @@ -12,7 +12,7 @@ /** * @class Roo.data.SortTypes - * @singleton + * @static * Defines the default sorting (casting?) comparison functions used when sorting data. */ Roo.data.SortTypes = { diff --git a/Roo/dd/DragDropMgr.js b/Roo/dd/DragDropMgr.js index 9befe30563..18fabfe87b 100644 --- a/Roo/dd/DragDropMgr.js +++ b/Roo/dd/DragDropMgr.js @@ -28,7 +28,7 @@ if (!Roo.dd.DragDropMgr) { * all DragDrop items in the window. Generally, you will not call * this class directly, but it does have helper methods that could * be useful in your DragDrop implementations. - * @singleton + * @static */ Roo.dd.DragDropMgr = function() { diff --git a/Roo/dd/Registry.js b/Roo/dd/Registry.js index 6eee28f9ad..406776b1c6 100644 --- a/Roo/dd/Registry.js +++ b/Roo/dd/Registry.js @@ -14,7 +14,7 @@ * @class Roo.dd.Registry * Provides easy access to all drag drop components that are registered on a page. Items can be retrieved either * directly by DOM node id, or by passing in the drag drop event that occurred and looking up the event target. - * @singleton + * @static */ Roo.dd.Registry = function(){ var elements = {}; diff --git a/Roo/dd/ScrollManager.js b/Roo/dd/ScrollManager.js index 9aa4be0120..56abb72295 100644 --- a/Roo/dd/ScrollManager.js +++ b/Roo/dd/ScrollManager.js @@ -14,7 +14,7 @@ * @class Roo.dd.ScrollManager * Provides automatic scrolling of overflow regions in the page during drag operations.

* Note: This class uses "Point Mode" and is untested in "Intersect Mode". - * @singleton + * @static */ Roo.dd.ScrollManager = function(){ var ddm = Roo.dd.DragDropMgr; diff --git a/Roo/form/VTypes.js b/Roo/form/VTypes.js index e7140b3b10..78b338a7e4 100644 --- a/Roo/form/VTypes.js +++ b/Roo/form/VTypes.js @@ -11,7 +11,7 @@ /** * @class Roo.form.VTypes * Overridable validation definitions. The validations provided are basic and intended to be easily customizable and extended. - * @singleton + * @static */ Roo.form.VTypes = function(){ // closure these in so they are only created once. diff --git a/Roo/menu/MenuMgr.js b/Roo/menu/MenuMgr.js index e182cc27b8..605be80759 100644 --- a/Roo/menu/MenuMgr.js +++ b/Roo/menu/MenuMgr.js @@ -12,7 +12,7 @@ /** * @class Roo.menu.MenuMgr * Provides a common registry of all menu items on a page so that they can be easily accessed by id. - * @singleton + * @static */ Roo.menu.MenuMgr = function(){ var menus, active, groups = {}, attached = false, lastShow = new Date(); diff --git a/Roo/state/Manager.js b/Roo/state/Manager.js index 956a5cc568..4826cca823 100644 --- a/Roo/state/Manager.js +++ b/Roo/state/Manager.js @@ -25,7 +25,7 @@ init : function(){ var dialog = new Roo.BasicDialog(...); dialog.restoreState(); - * @singleton + * @static */ Roo.state.Manager = function(){ var provider = new Roo.state.Provider(); diff --git a/Roo/util/CSS.js b/Roo/util/CSS.js index 1102f8cd51..18e4fe58aa 100644 --- a/Roo/util/CSS.js +++ b/Roo/util/CSS.js @@ -13,7 +13,8 @@ /** * @class Roo.util.CSS * Utility class for manipulating CSS rules - * @singleton + * @static + */ Roo.util.CSS = function(){ var rules = null; diff --git a/Roo/util/TextMetrics.js b/Roo/util/TextMetrics.js index fa4262b585..ca27de1c93 100644 --- a/Roo/util/TextMetrics.js +++ b/Roo/util/TextMetrics.js @@ -14,7 +14,7 @@ * @class Roo.util.TextMetrics * Provides precise pixel measurements for blocks of text so that you can determine exactly how high and * wide, in pixels, a given block of text will be. - * @singleton + * @static */ Roo.util.TextMetrics = function(){ var shared; diff --git a/docs/src/Roo_ComponentMgr.js.html b/docs/src/Roo_ComponentMgr.js.html index 13cadad39b..f14e339444 100644 --- a/docs/src/Roo_ComponentMgr.js.html +++ b/docs/src/Roo_ComponentMgr.js.html @@ -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/docs/src/Roo_DomHelper.js.html b/docs/src/Roo_DomHelper.js.html index b7847fd77c..69b7ea6eb1 100644 --- a/docs/src/Roo_DomHelper.js.html +++ b/docs/src/Roo_DomHelper.js.html @@ -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 <a href="http://web.archive.org/web/20071221063734/http://www.jackslocum.com/blog/2006/10/06/domhelper-create-elements-using-dom-html-fragments-or-templates/">this blog post with examples</a>. - * @singleton + * @static */ Roo.DomHelper = function(){ var tempTableEl = null; diff --git a/docs/src/Roo_DomQuery.js.html b/docs/src/Roo_DomQuery.js.html index 254471df33..d5fd62f5c9 100644 --- a/docs/src/Roo_DomQuery.js.html +++ b/docs/src/Roo_DomQuery.js.html @@ -73,7 +73,7 @@ All selectors, attribute filters and pseudos below can be combined infinitely in <li> <b>E{display%=2}</b> css value "display" that is evenly divisible by 2</li> <li> <b>E{display!=none}</b> css value "display" that does not equal "none"</li> </ul> - * @singleton + * @static */ Roo.DomQuery = function(){ var cache = {}, simpleCache = {}, valueCache = {}; diff --git a/docs/src/Roo_EventManager.js.html b/docs/src/Roo_EventManager.js.html index 754e07a47a..db42d8fff3 100644 --- a/docs/src/Roo_EventManager.js.html +++ b/docs/src/Roo_EventManager.js.html @@ -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/docs/src/Roo_util_Format.js.html b/docs/src/Roo_util_Format.js.html index d5df702ec1..b702ff16a8 100644 --- a/docs/src/Roo_util_Format.js.html +++ b/docs/src/Roo_util_Format.js.html @@ -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/docs/src/Roo_util_JSON.js.html b/docs/src/Roo_util_JSON.js.html index b4c8a76d2f..c2cae33bcc 100644 --- a/docs/src/Roo_util_JSON.js.html +++ b/docs/src/Roo_util_JSON.js.html @@ -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; diff --git a/docs/symbols/Roo.ComponentMgr.json b/docs/symbols/Roo.ComponentMgr.json index 297aef080e..e30384d082 100644 --- a/docs/symbols/Roo.ComponentMgr.json +++ b/docs/symbols/Roo.ComponentMgr.json @@ -5,7 +5,7 @@ "tree_children" : [], "tree_parent" : [], "desc" : "Provides a common registry of all components on a page so that they can be easily accessed by component id (see {@link Roo.getCmp}).", - "isSingleton" : true, + "isSingleton" : false, "isStatic" : true, "isBuiltin" : false, "isAbstract" : false, diff --git a/docs/symbols/Roo.DomHelper.json b/docs/symbols/Roo.DomHelper.json index aa1902bffa..d04e85dff5 100644 --- a/docs/symbols/Roo.DomHelper.json +++ b/docs/symbols/Roo.DomHelper.json @@ -5,7 +5,7 @@ "tree_children" : [], "tree_parent" : [], "desc" : "Utility class for working with DOM and/or Templates. It transparently supports using HTML fragments or DOM.\nFor more information see this blog post with examples.", - "isSingleton" : true, + "isSingleton" : false, "isStatic" : true, "isBuiltin" : false, "isAbstract" : false, diff --git a/docs/symbols/Roo.DomQuery.json b/docs/symbols/Roo.DomQuery.json index 696348c44e..c2ffb5f6ef 100644 --- a/docs/symbols/Roo.DomQuery.json +++ b/docs/symbols/Roo.DomQuery.json @@ -5,7 +5,7 @@ "tree_children" : [], "tree_parent" : [], "desc" : "Provides high performance selector/xpath processing by compiling queries into reusable functions. New pseudo classes and matchers can be plugged. It works on HTML and XML documents (if a content node is passed in).\n

\nDomQuery supports most of the CSS3 selectors spec, along with some custom selectors and basic XPath.

\n\n

\nAll selectors, attribute filters and pseudos below can be combined infinitely in any order. For example \"div.foo:nth-child(odd)[@foo=bar].bar:first\" would be a perfectly valid selector. Node filters are processed in the order in which they appear, which allows you to optimize your queries for your document structure.\n

\n

Element Selectors:

\n\n

Attribute Selectors:

\n

The use of @ and quotes are optional. For example, div[@foo='bar'] is also a valid attribute selector.

\n\n

Pseudo Classes:

\n\n

CSS Value Selectors:

\n", - "isSingleton" : true, + "isSingleton" : false, "isStatic" : true, "isBuiltin" : false, "isAbstract" : false, diff --git a/docs/symbols/Roo.EventManager.json b/docs/symbols/Roo.EventManager.json index 8c4fa4a3e4..c1910fe396 100644 --- a/docs/symbols/Roo.EventManager.json +++ b/docs/symbols/Roo.EventManager.json @@ -5,7 +5,7 @@ "tree_children" : [], "tree_parent" : [], "desc" : "Registers event handlers that want to receive a normalized EventObject instead of the standard browser event and provides \nseveral useful events directly.\nSee {@link Roo.EventObject} for more details on normalized event objects.", - "isSingleton" : true, + "isSingleton" : false, "isStatic" : true, "isBuiltin" : false, "isAbstract" : false, diff --git a/docs/symbols/Roo.util.Format.json b/docs/symbols/Roo.util.Format.json index 6f5812bc22..c5ec02b89d 100644 --- a/docs/symbols/Roo.util.Format.json +++ b/docs/symbols/Roo.util.Format.json @@ -5,7 +5,7 @@ "tree_children" : [], "tree_parent" : [], "desc" : "Reusable data formatting functions", - "isSingleton" : true, + "isSingleton" : false, "isStatic" : true, "isBuiltin" : false, "isAbstract" : false, diff --git a/docs/symbols/Roo.util.JSON.json b/docs/symbols/Roo.util.JSON.json index 166fe00555..926868542c 100644 --- a/docs/symbols/Roo.util.JSON.json +++ b/docs/symbols/Roo.util.JSON.json @@ -5,7 +5,7 @@ "tree_children" : [], "tree_parent" : [], "desc" : "Modified version of Douglas Crockford\"s json.js that doesn\"t\nmess with the Object prototype \nhttp://www.json.org/js.html", - "isSingleton" : true, + "isSingleton" : false, "isStatic" : true, "isBuiltin" : false, "isAbstract" : false, -- 2.39.2