Skip to content

Commit e6b0379

Browse files
committed
remove console.log
1 parent 020a48c commit e6b0379

File tree

9 files changed

+42946
-17
lines changed

9 files changed

+42946
-17
lines changed

build/metro.css

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/metro.css.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/metro.js

Lines changed: 42936 additions & 6 deletions
Large diffs are not rendered by default.

build/metro.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/components/countdown/countdown.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -458,14 +458,12 @@
458458
},
459459

460460
pause: function(){
461-
console.log("pause")
462461
clearInterval(this.blinkInterval);
463462
clearInterval(this.tickInterval);
464463
this.element.data("paused", true);
465464
},
466465

467466
resume: function(){
468-
console.log("resume")
469467
var that = this;
470468

471469
this.element.data("paused", false);

source/components/dropdown/dropdown.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@
170170
toggle.addClass('active-toggle').addClass("active-control");
171171

172172
el[func](immediate ? 0 : options.duration, function(){
173-
console.log(func)
174173
if (!options.dropUp && options.checkDropUp) {
175174
// dropdown.element.removeClass("drop-up");
176175
if (!Utils.inViewport(dropdown.element[0])) {

source/components/toast/toast.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@
5959
.addClass(o.clsToast)
6060
.addClass(cls)
6161
.fadeIn(METRO_ANIMATION_DURATION, function(){
62-
console.log("ku")
6362
setTimeout(function(){
6463
Toast.remove(toast, callback);
6564
}, timeout);

source/core/metro.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,22 +137,22 @@ onmessage = function (event) {\
137137
try {
138138
callback = new Function (callback);
139139
} catch (error) {
140-
console.log (logPrefix + 'Error parsing callback code string: ', error);
140+
console.error (logPrefix + 'Error parsing callback code string: ', error);
141141
}
142142
}
143143
if (typeof (callback) === 'function') {
144144
callback.apply (window, parameters);
145145
}
146146
};
147147
worker.onerror = function (event) {
148-
console.log (event);
148+
console.error (event);
149149
};
150150
} catch (error) {
151-
console.log (logPrefix + 'Initialisation failed');
151+
console.error (logPrefix + 'Initialisation failed');
152152
console.error (error);
153153
}
154154
} else {
155-
console.log (logPrefix + 'Initialisation failed - HTML5 Web Worker is not supported');
155+
console.error (logPrefix + 'Initialisation failed - HTML5 Web Worker is not supported');
156156
}
157157
}) ('HackTimerWorker.js');
158158

0 commit comments

Comments
 (0)