diff --git a/mithril.js b/mithril.js index 0b180154..d89b85d3 100644 --- a/mithril.js +++ b/mithril.js @@ -1134,7 +1134,7 @@ var _24 = function($window, mount0) { var router = coreRouter($window) var currentResolve, currentComponent, currentRender, currentArgs, currentPath var RouteComponent = {view: function() { - return currentRender(Vnode(currentComponent, null, currentArgs, undefined, undefined, undefined)) + return [currentRender(Vnode(currentComponent, null, currentArgs, undefined, undefined, undefined))] }} function defaultRender(vnode1) { return vnode1 diff --git a/mithril.min.js b/mithril.min.js index 35aff7af..5c89876b 100644 --- a/mithril.min.js +++ b/mithril.min.js @@ -38,6 +38,6 @@ h?h=!1:"/"!==h.charAt(0)&&(m=new Date(h),isNaN(m.getTime())||(h=m));var m=k.spli g&&(g=t(function(){g=null;b()}))}}function f(b,e,f){var g=b.indexOf("?"),h=b.indexOf("#"),m=-1