kui-utils 0.0.15 → 0.0.16
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/cjs/index.js +4 -1
- package/cjs/index.js.map +1 -1
- package/index.js +4 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -2067,9 +2067,12 @@ var Loader = /** @class */ (function () {
|
|
|
2067
2067
|
function Loader(isLoading, delayTime) {
|
|
2068
2068
|
var _this = this;
|
|
2069
2069
|
this.startLoading = function (message, withoutCleanError) {
|
|
2070
|
+
var runMode = kuiUtilsSettings.getSettings().runMode;
|
|
2070
2071
|
_this.isLoading = true;
|
|
2071
2072
|
_this.loadingMessage = message;
|
|
2072
|
-
|
|
2073
|
+
if (runMode !== "test") {
|
|
2074
|
+
_this.timeBeforeLoading = new Date().getTime();
|
|
2075
|
+
}
|
|
2073
2076
|
if (!withoutCleanError)
|
|
2074
2077
|
_this.cleanError();
|
|
2075
2078
|
};
|