From a12c594d9b49ba918459c8fa45e3f141af440bb2 Mon Sep 17 00:00:00 2001 From: Gandalf-the-Bot Date: Mon, 5 Dec 2016 04:31:50 +0000 Subject: [PATCH] Bundled output for commit 9a6a4dddc4f8fd0846cacef4033a9c7b2b8cef12 [skip ci] --- mithril.js | 4 ++-- mithril.min.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mithril.js b/mithril.js index 1493aa46..89ab1ba8 100644 --- a/mithril.js +++ b/mithril.js @@ -1101,7 +1101,7 @@ var _20 = function($window, redrawService0) { current.component = component current.path = path current.resolve = null - redrawService0.render(root, current.render(Vnode(component, undefined, params))) + redrawService0.render(root, current.render.call(resolver, Vnode(component, undefined, params))) } var run1 = routeService.defineRoutes(routes, function(component, params, path, route, isAction) { if (component.view) render1({}, component, params, path) @@ -1113,7 +1113,7 @@ var _20 = function($window, redrawService0) { render1(component, resolved, params, path) } component.onmatch(function(resolved) { - if (current.path !== path && current.resolve != null) current.resolve(resolved) + if (current.resolve != null) current.resolve(resolved) }, params, path) } } diff --git a/mithril.min.js b/mithril.min.js index a218474f..6fd0a979 100644 --- a/mithril.min.js +++ b/mithril.min.js @@ -36,6 +36,6 @@ var m=k.split(/\]\[?|\[/),t=c;-1