Bundled output for commit 610604e00d [skip ci]

This commit is contained in:
Gandalf-the-Bot 2016-08-17 17:39:59 +00:00
parent 610604e00d
commit e609e6ec7e
2 changed files with 2 additions and 2 deletions

View file

@ -1113,9 +1113,9 @@ m.route = function($window, renderer, pubsub) {
}(window, renderService, redrawService)
m.mount = function(renderer, pubsub) {
return function(root, component) {
pubsub.unsubscribe(root.redraw)
if (component === null) {
renderer.render(root, [])
pubsub.unsubscribe(root.redraw)
delete root.redraw
return
}