Bundled output for commit 4df43499be [skip ci]

This commit is contained in:
Gandalf-the-Bot 2017-07-06 19:12:21 +00:00
parent 4df43499be
commit 218c29a011
3 changed files with 46 additions and 47 deletions

View file

@ -996,7 +996,8 @@ function throttle(callback) {
var _11 = function($window) {
var renderService = coreRenderer($window)
renderService.setEventCallback(function(e) {
if (e.redraw !== false) redraw()
if (e.redraw === false) e.redraw = undefined
else redraw()
})
var callbacks = []
function subscribe(key1, callback) {
@ -1195,7 +1196,10 @@ var _20 = function($window, redrawService0) {
redrawService0.subscribe(root, run1)
}
route.set = function(path, data, options) {
if (lastUpdate != null) options = {replace: true}
if (lastUpdate != null) {
options = options || {}
options.replace = true
}
lastUpdate = null
routeService.setPath(path, data, options)
}