From fe7cc3efe6ebaa25e1638d420802e11bd88670c6 Mon Sep 17 00:00:00 2001 From: Gandalf-the-Bot Date: Thu, 15 Sep 2016 20:30:07 +0000 Subject: [PATCH] Bundled output for commit 111187cb4fe577a4e763f5fd9d9330051bbaa030 [skip ci] --- mithril.js | 2 +- mithril.min.js | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/mithril.js b/mithril.js index 46296502..2ade76ef 100644 --- a/mithril.js +++ b/mithril.js @@ -946,7 +946,7 @@ var parseQueryString = function(string) { if (value !== "" && !isNaN(number) || value === "NaN") value = number else if (value === "true") value = true else if (value === "false") value = false - else { + else if (value.charAt(0) !== "/") { var date = new Date(value) if (!isNaN(date.getTime())) value = date } diff --git a/mithril.min.js b/mithril.min.js index 3a3e7d6b..a91c26ca 100644 --- a/mithril.min.js +++ b/mithril.min.js @@ -32,11 +32,11 @@ f[h].slice(1);null!=d[k]&&(b=b.replace(f[h],d[k]),delete d[k])}return b}function g.user:void 0,"string"===typeof g.password?g.password:void 0);g.serialize===JSON.stringify&&z&&n.setRequestHeader("Content-Type","application/json; charset=utf-8");g.deserialize===k&&n.setRequestHeader("Accept","application/json, text/*");"function"===typeof g.config&&(n=g.config(n,g)||n);n.onreadystatechange=function(){if(4===n.readyState){try{var b=g.extract!==l?g.extract(n,g):g.deserialize(g.extract(n,g));if(200<=n.status&&300>n.status||304===n.status)d(m(g.type,b));else{var f=Error(n.responseText), h;for(h in b)f[h]=b[h];d.error(f)}}catch(k){d.error(k)}"function"===typeof q&&q()}};z?n.send(g.data):n.send();return d},jsonp:function(g){var d=f();void 0!==g.initialValue&&d(g.initialValue);var k=g.callbackName||"_mithril_"+Math.round(1E16*Math.random())+"_"+v++,n=b.document.createElement("script");b[k]=function(f){n.parentNode.removeChild(n);d(m(g.type,f));"function"===typeof q&&q();delete b[k]};n.onerror=function(){n.parentNode.removeChild(n);d.error(Error("JSONP request failed"));"function"=== typeof q&&q();delete b[k]};null==g.data&&(g.data={});g.url=p(g.url,g.data);g.data[g.callbackKey||"callback"]=k;n.src=h(g.url,g.data);b.document.documentElement.appendChild(n);return d},setCompletionCallback:function(b){q=b}}}(window,N),K=function(){var b=[];return{subscribe:b.push.bind(b),unsubscribe:function(f){f=b.indexOf(f);-1