From ef3beb43df8f3762e5a9c909d1fab3361be10dc3 Mon Sep 17 00:00:00 2001 From: Gandalf-the-Bot Date: Mon, 23 Jan 2017 23:10:34 +0000 Subject: [PATCH] Bundled output for commit 78e1edd37d8d4f30d1e3d77e7fba65d41b0b837e [skip ci] --- mithril.js | 2 +- mithril.min.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mithril.js b/mithril.js index ce452406..275121ea 100644 --- a/mithril.js +++ b/mithril.js @@ -1143,7 +1143,7 @@ var _20 = function($window, redrawService0) { m.route = _20(window, redrawService) m.withAttr = function(attrName, callback1, context) { return function(e) { - return callback1.call(context || this, attrName in e.currentTarget ? e.currentTarget[attrName] : e.currentTarget.getAttribute(attrName)) + callback1.call(context || this, attrName in e.currentTarget ? e.currentTarget[attrName] : e.currentTarget.getAttribute(attrName)) } } var _28 = coreRenderer(window) diff --git a/mithril.min.js b/mithril.min.js index e627e3e3..df70d7c9 100644 --- a/mithril.min.js +++ b/mithril.min.js @@ -38,5 +38,5 @@ m="function"===typeof setImmediate?setImmediate:setTimeout,l,p={prefix:"#!",getP h?(m=k?k.state:null,v=k?k.title:null,a.onpopstate(),k&&k.replace?a.history.replaceState(m,v,p.prefix+c):a.history.pushState(m,v,p.prefix+c)):a.location.href=p.prefix+c},defineRoutes:function(c,l,m){function b(){var b=p.getPath(),h={},k=d(b,h,h),u=a.history.state;if(null!=u)for(var q in u)h[q]=u[q];for(var r in c)if(u=new RegExp("^"+r.replace(/:[^\/]+?\.{3}/g,"(.*?)").replace(/:[^\/]+/g,"([^\\/]+)")+"/?$"),u.test(k)){k.replace(u,function(){for(var a=r.match(/:[^\/]+/g)||[],d=[].slice.call(arguments, 1,-2),k=0;k