Bundled output for commit 8a4280eb42 [skip ci]

This commit is contained in:
Gandalf-the-Bot 2017-09-25 15:06:03 +00:00
parent 8a4280eb42
commit c64822f576
2 changed files with 10 additions and 10 deletions

View file

@ -1043,7 +1043,7 @@ var _11 = function($window, throttleMock) {
function sync() {
if (rendering) throw new Error("Nested m.redraw.sync() call")
rendering = true
for (var i = 1; i < callbacks.length; i+=2) try {callbacks[i]()} catch (e) {console.error(e)}
for (var i = 1; i < callbacks.length; i+=2) try {callbacks[i]()} catch (e) {if (typeof console !== "undefined") console.error(e)}
rendering = false
}
var redraw = (throttleMock || throttle)(sync)