From 1685a3ae21637dcfc4ade4f87c82f490d616ef1d Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 4 Aug 2021 10:53:18 +0800 Subject: [PATCH] roojs-all.js roojs-debug.js Roo/util/JSON.js --- Roo/util/JSON.js | 5 ++++- roojs-debug.js | 10 +++++----- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/Roo/util/JSON.js b/Roo/util/JSON.js index 51ad30496f..c2c29fda69 100644 --- a/Roo/util/JSON.js +++ b/Roo/util/JSON.js @@ -130,6 +130,7 @@ Roo.util.JSON = new (function(){ /** * Decodes (parses) a JSON string to an object. If the JSON is invalid, this function throws a SyntaxError. + * @static * @param {String} json The JSON string * @return {Object} The resulting object */ @@ -140,11 +141,13 @@ Roo.util.JSON = new (function(){ })(); /** * Shorthand for {@link Roo.util.JSON#encode} - * @member Roo encode + * @member Roo encode + * @static * @method */ Roo.encode = typeof(JSON) != 'undefined' && JSON.stringify ? JSON.stringify : Roo.util.JSON.encode; /** * Shorthand for {@link Roo.util.JSON#decode} + * @static * @member Roo decode * @method */ Roo.decode = typeof(JSON) != 'undefined' && JSON.parse ? JSON.parse : Roo.util.JSON.decode; diff --git a/roojs-debug.js b/roojs-debug.js index 1e4dca35f2..2708aac267 100644 --- a/roojs-debug.js +++ b/roojs-debug.js @@ -23177,7 +23177,7 @@ Roo.extend(Roo.dd.DropZone, Roo.dd.DropTarget, { /** * @class Roo.data.SortTypes - * @singleton + * @static * Defines the default sorting (casting?) comparison functions used when sorting data. */ Roo.data.SortTypes = { @@ -33451,7 +33451,7 @@ Roo.Msg.show({ animEl: 'elId' }); - * @singleton + * @static */ Roo.MessageBox = function(){ var dlg, opt, mask, waitTimer; @@ -33980,7 +33980,7 @@ Roo.Msg = Roo.MessageBox;/* /** * @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; @@ -38132,7 +38132,7 @@ Roo.extend(Roo.menu.MenuNav, Roo.KeyNav, { /** * @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(); @@ -49636,7 +49636,7 @@ Roo.extend(Roo.form.FieldSet, Roo.form.Layout, { /** * @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. -- 2.39.2