jqx-es 1.3.7 → 1.3.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Bundle/jqx.browser.min.js +12 -11
- package/Bundle/jqx.min.js +12 -11
- package/Resource/Common/DOM.js +15 -14
- package/Resource/Common/Utilities.js +7 -0
- package/package.json +1 -1
- package/src/JQxInstanceMethods.js +280 -278
|
@@ -132,6 +132,12 @@ function systemLogFactory() {
|
|
|
132
132
|
return systemLogger;
|
|
133
133
|
}
|
|
134
134
|
|
|
135
|
+
function warn(...args) {
|
|
136
|
+
backLog.unshift(...args.map(arg => `${logTime()} ⚠ ${decodeForConsole(arg)}`));
|
|
137
|
+
console.warn(backLog.slice(0, args.length).join(`\n`));
|
|
138
|
+
return systemLogger;
|
|
139
|
+
}
|
|
140
|
+
|
|
135
141
|
function log(...args) {
|
|
136
142
|
backLog.unshift(...args.map(arg => `${logTime()} ✔ ${decodeForConsole(arg)}`));
|
|
137
143
|
switch(on) {
|
|
@@ -143,6 +149,7 @@ function systemLogFactory() {
|
|
|
143
149
|
Object.defineProperties(systemLogger, {
|
|
144
150
|
log: {value: log, enumerable: false},
|
|
145
151
|
error: {value: error, enumerable: false},
|
|
152
|
+
warn: {value: warn, enumerable: false},
|
|
146
153
|
});
|
|
147
154
|
|
|
148
155
|
return Object.freeze(systemLogger);
|