From e1883816c9dc2de69bef19a25d524795dc253001 Mon Sep 17 00:00:00 2001 From: Gandalf-the-Bot Date: Wed, 5 Oct 2016 21:13:02 +0000 Subject: [PATCH] Bundled output for commit 9b482be0ca6061711b9e27a49871bd80ab9a2f0b [skip ci] --- mithril.js | 4 --- mithril.min.js | 81 +++++++++++++++++++++++++------------------------- 2 files changed, 40 insertions(+), 45 deletions(-) diff --git a/mithril.js b/mithril.js index d89b85d3..1344ecd3 100644 --- a/mithril.js +++ b/mithril.js @@ -1002,10 +1002,6 @@ var parseQueryString = function(string) { if (value4 !== "" && !isNaN(number) || value4 === "NaN") value4 = number else if (value4 === "true") value4 = true else if (value4 === "false") value4 = false - else if (value4.charAt(0) !== "/") { - var date = new Date(value4) - if (!isNaN(date.getTime())) value4 = date - } var levels = key3.split(/\]\[?|\[/) var cursor = data0 if (key3.indexOf("[") > -1) levels.pop() diff --git a/mithril.min.js b/mithril.min.js index 5c89876b..81eabc6c 100644 --- a/mithril.min.js +++ b/mithril.min.js @@ -1,43 +1,42 @@ -new function(){function u(b,e,n,f,h,k){return{tag:b,key:e,attrs:n,children:f,text:h,dom:k,domSize:void 0,state:{},events:void 0,instance:void 0,skip:!1}}function w(b){if(null==b||"string"!==typeof b&&null==b.view)throw Error("The selector must be either a string or a component.");if("string"===typeof b&&void 0===F[b]){for(var e,n,f=[],h={};e=O.exec(b);){var k=e[1],m=e[2];""===k&&""!==m?n=m:"#"===k?h.id=m:"."===k?f.push(m):"["===e[3][0]&&((k=e[6])&&(k=k.replace(/\\(["'])/g,"$1").replace(/\\\\/g,"\\")), -h[e[4]]=k||!0)}0d.filter(D).length)throw Error("Ensure that each item passed to m.prop.combine/m.prop.merge is a stream");return A(e(),d,function(){var b= -d.filter(L);if(0d.filter(D).length)throw Error("Ensure that each item passed to m.prop.combine/m.prop.merge is a stream");return A(e(),d,function(){var b= +d.filter(L);if(0b.indexOf("?")?"?":"&";b+=m+f}return b}function h(b){try{return""!==b?JSON.parse(b):null}catch(e){throw Error(b);}}function k(b){return b.responseText}function m(b,e){if("function"===typeof b)if(e instanceof Array)for(var f=0;fp.status||304=== -p.status)l(m(g.type,b));else{var e=Error(p.responseText),f;for(f in b)e[f]=b[f];l.error(e)}}catch(h){l.error(h)}"function"===typeof q&&q()}};z?p.send(g.data):p.send();return l},jsonp:function(g){var h=e();void 0!==g.initialValue&&h(g.initialValue);var k=g.callbackName||"_mithril_"+Math.round(1E16*Math.random())+"_"+t++,p=b.document.createElement("script");b[k]=function(e){p.parentNode.removeChild(p);h(m(g.type,e));"function"===typeof q&&q();delete b[k]};p.onerror=function(){p.parentNode.removeChild(p); -h.error(Error("JSONP request failed"));"function"===typeof q&&q();delete b[k]};null==g.data&&(g.data={});g.url=n(g.url,g.data);g.data[g.callbackKey||"callback"]=k;p.src=f(g.url,g.data);b.document.documentElement.appendChild(p);return h},setCompletionCallback:function(b){q=b}}}(window,M),I=function(){var b=[];return{subscribe:b.push.bind(b),unsubscribe:function(e){e=b.indexOf(e);-1=l&&A>=z;){var x=a[l],r=d[z];if(x!==r||v)if(null!=x&&null!=r&&x.key===r.key)l++,z++,k(c,x,r,b,t(a,l,f),v,h),v&&x.tag===r.tag&&q(c,m(x),f);else if(x=a[p],x!==r||v)if(null!=x&&null!=r&&x.key===r.key)k(c,x,r,b,t(a,p+1,f),v,h),(v||z=l&&A>=z;){x=a[p];r=d[A];if(x!==r||v)if(null!=x&&null!=r&&x.key===r.key)k(c,x,r,b,t(a,p+1,f),v,h),v&&x.tag===r.tag&&q(c,m(x),f),null!=x.dom&&(f=x.dom),p--;else{if(!B){B=a;var x=p,u={},w;for(w= -0;wb.indexOf("?")?"?":"&";b+=h+f}return b}function k(b){try{return""!==b?JSON.parse(b):null}catch(e){throw Error(b);}}function h(b){return b.responseText}function m(b,e){if("function"===typeof b)if(e instanceof Array)for(var f=0;fr.status||304=== +r.status)l(m(g.type,b));else{var e=Error(r.responseText),f;for(f in b)e[f]=b[f];l.error(e)}}catch(w){l.error(w)}"function"===typeof p&&p()}};w?r.send(g.data):r.send();return l},jsonp:function(g){var h=e();void 0!==g.initialValue&&h(g.initialValue);var w=g.callbackName||"_mithril_"+Math.round(1E16*Math.random())+"_"+t++,k=b.document.createElement("script");b[w]=function(e){k.parentNode.removeChild(k);h(m(g.type,e));"function"===typeof p&&p();delete b[w]};k.onerror=function(){k.parentNode.removeChild(k); +h.error(Error("JSONP request failed"));"function"===typeof p&&p();delete b[w]};null==g.data&&(g.data={});g.url=n(g.url,g.data);g.data[g.callbackKey||"callback"]=w;k.src=f(g.url,g.data);b.document.documentElement.appendChild(k);return h},setCompletionCallback:function(b){p=b}}}(window,M),I=function(){var b=[];return{subscribe:b.push.bind(b),unsubscribe:function(e){e=b.indexOf(e);-1=l&&A>=w;){var y=a[l],q=d[w];if(y!==q||v)if(null!=y&&null!=q&&y.key===q.key)l++,w++,h(c,y,q,b,t(a,l,f),v,k),v&&y.tag===q.tag&&p(c,m(y),f);else if(y=a[r],y!==q||v)if(null!=y&&null!=q&&y.key===q.key)h(c,y,q,b,t(a,r+1,f),v,k),(v||w=l&&A>=w;){y=a[r];q=d[A];if(y!==q||v)if(null!=y&&null!=q&&y.key===q.key)h(c,y,q,b,t(a,r+1,f),v,k),v&&y.tag===q.tag&&p(c,m(y),f),null!=y.dom&&(f=y.dom),r--;else{if(!B){B=a;var y=r,u={},x;for(x= +0;x