From a260014c3ba4ba27582227544d7a6ba3a0a85cb0 Mon Sep 17 00:00:00 2001 From: Kabir Shah Date: Sat, 12 May 2018 20:19:45 -0700 Subject: [PATCH] remove `m` from locals --- dist/moon.js | 2 +- dist/moon.min.js | 2 +- src/compiler/parser/parser.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/moon.js b/dist/moon.js index 3f5dfc8e..a3fb14f7 100644 --- a/dist/moon.js +++ b/dist/moon.js @@ -173,7 +173,7 @@ var parse = function (input) { var length = input.length; var dependencies = []; - var locals = ["NaN", "false", "in", "m", "null", "true", "typeof", "undefined"]; + var locals = ["NaN", "false", "in", "null", "true", "typeof", "undefined"]; var root = { type: "m-fragment", diff --git a/dist/moon.min.js b/dist/moon.min.js index ad448003..df934353 100644 --- a/dist/moon.min.js +++ b/dist/moon.min.js @@ -4,4 +4,4 @@ * Released under the MIT License * https://kbrsh.github.io/moon */ -!function(n,e){"undefined"==typeof module?n.Moon=e():module.exports=e()}(this,function(){"use strict";var a=function(n,e,t){for(;n"===u){n+=3;break}n+=1}}return n},n={silent:!0},d=function(n,e){e[e.length-1].children.push(n)},f=function(n,e,t,r){for(var i="";n"===u){var o={index:r.parseIndex++,type:i,children:[]};d(o,r),r.push(o),n+=1;break}if("/"===u&&">"===e[n+1]){d({index:r.parseIndex++,type:i,children:[]},r),n+=2;break}i+=u}return n},s=function(n,e,t,r){for(;n"===i){n+=1;break}i}var u=r.pop();return u.type,n},o=/(?:(?:&(?:amp|gt|lt|nbsp|quot);)|"|\\|\n)/g,c={"&":"&",">":">","<":"<"," ":" ",""":'\\"',"\\":"\\\\",'"':'\\"',"\n":"\\n"},m=function(n,e,t,r){for(var i="";n"===u){n+=3;break}n+=1}}return n},n={silent:!0},d=function(n,e){e[e.length-1].children.push(n)},f=function(n,e,t,r){for(var i="";n"===u){var o={index:r.parseIndex++,type:i,children:[]};d(o,r),r.push(o),n+=1;break}if("/"===u&&">"===e[n+1]){d({index:r.parseIndex++,type:i,children:[]},r),n+=2;break}i+=u}return n},s=function(n,e,t,r){for(;n"===i){n+=1;break}i}var u=r.pop();return u.type,n},o=/(?:(?:&(?:amp|gt|lt|nbsp|quot);)|"|\\|\n)/g,c={"&":"&",">":">","<":"<"," ":" ",""":'\\"',"\\":"\\\\",'"':'\\"',"\n":"\\n"},m=function(n,e,t,r){for(var i="";n { const length = input.length; let dependencies = []; - let locals = ["NaN", "false", "in", "m", "null", "true", "typeof", "undefined"]; + let locals = ["NaN", "false", "in", "null", "true", "typeof", "undefined"]; const root = { type: "m-fragment",