From 6f782afe0010f04a05d8f5f871f843e83be13778 Mon Sep 17 00:00:00 2001 From: Kabir Shah Date: Fri, 14 Jul 2017 09:30:43 -0700 Subject: [PATCH] v0.11.0 --- dist/moon.js | 4 ++-- dist/moon.min.js | 4 ++-- package.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dist/moon.js b/dist/moon.js index 0b4923da..5342b11c 100644 --- a/dist/moon.js +++ b/dist/moon.js @@ -1,5 +1,5 @@ /** - * Moon v0.10.0 + * Moon v0.11.0 * Copyright 2016-2017 Kabir Shah * Released under the MIT License * http://moonjs.ga @@ -2006,7 +2006,7 @@ /** * Version of Moon */ - Moon.version = '0.10.0'; + Moon.version = '0.11.0'; /** * Moon Utilities diff --git a/dist/moon.min.js b/dist/moon.min.js index caa48d5e..f48c0785 100644 --- a/dist/moon.min.js +++ b/dist/moon.min.js @@ -1,7 +1,7 @@ /** - * Moon v0.10.0 + * Moon v0.11.0 * Copyright 2016-2017 Kabir Shah * Released under the MIT License * http://moonjs.ga */ -!function(e,t){"object"==typeof module&&module.exports?module.exports=t():e.Moon=t()}(this,function(){"use strict";function e(e){this.instance=e,this.cache={},this.setters={},this.clear={},this.target=null,this.map={}}function t(t){void 0===t&&(t={}),this.$options=t,$(this,"$name",t.name,"root");var n=t.data;this.$data=void 0===n?{}:"function"==typeof n?n():n,$(this,"$render",t.render,k),$(this,"$hooks",t.hooks,{});var r=t.methods;void 0!==r&&l(this,r),this.$events={},this.$dom={},this.$observer=new e(this),this.$destroyed=!0,this.$queued=!1;var i=t.computed;void 0!==i&&s(this,i),this.init()}var n={},r={},i={},o={stop:"event.stopPropagation();",prevent:"event.preventDefault();",ctrl:"if(event.ctrlKey === false) {return null;};",shift:"if(event.shiftKey === false) {return null;};",alt:"if(event.altKey === false) {return null;};",enter:"if(event.keyCode !== 13) {return null;};"},a={},l=function(e,t){var n=e.$data;for(var r in t)!function(t,r){n[t]=function(){return r.apply(e,arguments)}}(r,t[r])},s=function(e,t){for(var n in t)!function(n){var r=e.$observer;r.observe(n),Object.defineProperty(e.$data,n,{get:function(){var i=null;return void 0===r.cache[n]?(r.target=n,i=t[n].get.call(e),r.target=null,r.cache[n]=i):i=r.cache[n],i},set:k});var i=null;void 0!==(i=t[n].set)&&(r.setters[n]=i)}(n)};e.prototype.observe=function(e){var t=this;this.clear[e]=function(){t.cache[e]=void 0}},e.prototype.notify=function(e,t){var n=this,r=null;if(void 0!==(r=this.map[e]))for(var i=0;i",""":'\\"',"&":"&","\\":"\\\\",'"':'\\"',"\n":"\\n"},f=function(e){!1===t.config.silent&&console.log(e)},d=function(e){!1===t.config.silent&&console.error("[Moon] ERROR: "+e)},p=function(e){!1===e.$queued&&!1===e.$destroyed&&(e.$queued=!0,setTimeout(function(){e.build(),m(e,"updated"),e.$queued=!1},0))},h=function(e,t,n,r){n=n.replace(u,".$1");for(var i=n.split("."),o=0;ov?u:v,d=0,p=0;d"===o||" "===o)break;i+=o,r++}var a={type:"tag",value:i};return e.tokens.push(a),e.current=r,a},re=function(e,t){for(var n=t.input,r=n.length,i=t.current,o=n.charAt(i),a=n.charAt(i+1),l=function(){i++,o=n.charAt(i),a=n.charAt(i+1)},s={};i"!==o&&("/"!==o||">"!==a);)if(" "!==o){for(var u="",v=!1;i"===o||"/"===o&&">"===a){v=!0;break}u+=o,l()}var c={name:u,value:"",meta:{}};if(!0!==v){l();var f=" ";for("'"!==o&&'"'!==o||(f=o,l());i1&&(l=c.shift(),v=c.join("(").slice(0,-1),F(v,r.dependencies));for(var f="",d=0;d",""":'\\"',"&":"&","\\":"\\\\",'"':'\\"',"\n":"\\n"},f=function(e){!1===t.config.silent&&console.log(e)},d=function(e){!1===t.config.silent&&console.error("[Moon] ERROR: "+e)},p=function(e){!1===e.$queued&&!1===e.$destroyed&&(e.$queued=!0,setTimeout(function(){e.build(),m(e,"updated"),e.$queued=!1},0))},h=function(e,t,n,r){n=n.replace(u,".$1");for(var i=n.split("."),o=0;ov?u:v,d=0,p=0;d"===o||" "===o)break;i+=o,r++}var a={type:"tag",value:i};return e.tokens.push(a),e.current=r,a},re=function(e,t){for(var n=t.input,r=n.length,i=t.current,o=n.charAt(i),a=n.charAt(i+1),l=function(){i++,o=n.charAt(i),a=n.charAt(i+1)},s={};i"!==o&&("/"!==o||">"!==a);)if(" "!==o){for(var u="",v=!1;i"===o||"/"===o&&">"===a){v=!0;break}u+=o,l()}var c={name:u,value:"",meta:{}};if(!0!==v){l();var f=" ";for("'"!==o&&'"'!==o||(f=o,l());i1&&(l=c.shift(),v=c.join("(").slice(0,-1),F(v,r.dependencies));for(var f="",d=0;d