@ninebone/util 1.0.52 β 1.0.53
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/dist/nine-util.js +3 -6
- package/dist/nine-util.js.map +1 -1
- package/dist/nine-util.umd.js +1 -1
- package/dist/nine-util.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/nine-util.js
CHANGED
|
@@ -90,12 +90,9 @@ let Trace$1 = (_a = class {
|
|
|
90
90
|
* π― μ€μκ° λλ²κ·Έ νμ±ν λ° νν° νκ² μ¬λΆ μ²΄ν¬ ν¬νΌ
|
|
91
91
|
*/
|
|
92
92
|
isTraceEnabled_fn = function() {
|
|
93
|
-
if (!nine || !nine.config) return false;
|
|
94
|
-
if (nine.config.debug
|
|
93
|
+
if (!nine || !nine.config || nine.config.debug === false || nine.config.debug.filter === void 0) return false;
|
|
94
|
+
if (nine.config.debug && nine.config.debug.filter) {
|
|
95
95
|
const debugConfig = nine.config.debug;
|
|
96
|
-
if (debugConfig.enable === false) {
|
|
97
|
-
return false;
|
|
98
|
-
}
|
|
99
96
|
if (debugConfig.enable === true && Array.isArray(debugConfig.filter)) {
|
|
100
97
|
if (__privateGet(this, _name)) {
|
|
101
98
|
return debugConfig.filter.includes(__privateGet(this, _name));
|
|
@@ -1341,7 +1338,7 @@ class NineSplitter extends HTMLElement {
|
|
|
1341
1338
|
const htmlTmpl = document.createElement("template");
|
|
1342
1339
|
htmlTmpl.innerHTML = `
|
|
1343
1340
|
<style>
|
|
1344
|
-
@import "https://cdn.jsdelivr.net/npm/@ninebone/util@${"1.0.
|
|
1341
|
+
@import "https://cdn.jsdelivr.net/npm/@ninebone/util@${"1.0.53"}/dist/css/nine-util.css";
|
|
1345
1342
|
${customImport}
|
|
1346
1343
|
</style>
|
|
1347
1344
|
${gripTmpl}
|