Comparing version 1.0.10 to 1.0.11
@@ -51,3 +51,2 @@ (function (f) { | ||
* | ||
* @license MIT | ||
* @author <steven@velozo.com> | ||
@@ -279,3 +278,3 @@ */ | ||
/** | ||
/** | ||
* Add a child character to a Parse Tree node | ||
@@ -282,0 +281,0 @@ * @method addChild |
@@ -1,10 +0,3 @@ | ||
!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Precedent=t()}}((function(){return function t(e,r,n){function a(s,f){if(!r[s]){if(!e[s]){var o="function"==typeof require&&require;if(!f&&o)return o(s,!0);if(u)return u(s,!0);var i=new Error("Cannot find module '"+s+"'");throw i.code="MODULE_NOT_FOUND",i}var P=r[s]={exports:{}};e[s][0].call(P.exports,(function(t){return a(e[s][1][t]||t)}),P,P.exports,t,e,r,n)}return r[s].exports}for(var u="function"==typeof require&&require,s=0;s<n.length;s++)a(n[s]);return a}({1:[function(t,e,r){ | ||
!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Precedent=t()}}((function(){return function t(e,r,n){function a(s,f){if(!r[s]){if(!e[s]){var o="function"==typeof require&&require;if(!f&&o)return o(s,!0);if(u)return u(s,!0);var i=new Error("Cannot find module '"+s+"'");throw i.code="MODULE_NOT_FOUND",i}var P=r[s]={exports:{}};e[s][0].call(P.exports,(function(t){return a(e[s][1][t]||t)}),P,P.exports,t,e,r,n)}return r[s].exports}for(var u="function"==typeof require&&require,s=0;s<n.length;s++)a(n[s]);return a}({1:[function(t,e,r){var n=t("./Precedent.js");"object"!=typeof window||window.hasOwnProperty("Precedent")||(window.Precedent=n),e.exports=n},{"./Precedent.js":2}],2:[function(t,e,r){ | ||
/** | ||
* Simple browser shim loader - assign the npm module to a window global automatically | ||
* | ||
* @license MIT | ||
* @author <steven@velozo.com> | ||
*/ | ||
var n=t("./Precedent.js");"object"!=typeof window||window.hasOwnProperty("Precedent")||(window.Precedent=n),e.exports=n},{"./Precedent.js":2}],2:[function(t,e,r){ | ||
/** | ||
* Precedent Meta-Templating | ||
@@ -11,0 +4,0 @@ * |
@@ -51,3 +51,2 @@ (function (f) { | ||
* | ||
* @license MIT | ||
* @author <steven@velozo.com> | ||
@@ -279,3 +278,3 @@ */ | ||
/** | ||
/** | ||
* Add a child character to a Parse Tree node | ||
@@ -282,0 +281,0 @@ * @method addChild |
@@ -1,10 +0,3 @@ | ||
!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Precedent=t()}}((function(){return function t(e,r,n){function a(s,f){if(!r[s]){if(!e[s]){var o="function"==typeof require&&require;if(!f&&o)return o(s,!0);if(u)return u(s,!0);var i=new Error("Cannot find module '"+s+"'");throw i.code="MODULE_NOT_FOUND",i}var P=r[s]={exports:{}};e[s][0].call(P.exports,(function(t){return a(e[s][1][t]||t)}),P,P.exports,t,e,r,n)}return r[s].exports}for(var u="function"==typeof require&&require,s=0;s<n.length;s++)a(n[s]);return a}({1:[function(t,e,r){ | ||
!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Precedent=t()}}((function(){return function t(e,r,n){function a(s,f){if(!r[s]){if(!e[s]){var o="function"==typeof require&&require;if(!f&&o)return o(s,!0);if(u)return u(s,!0);var i=new Error("Cannot find module '"+s+"'");throw i.code="MODULE_NOT_FOUND",i}var P=r[s]={exports:{}};e[s][0].call(P.exports,(function(t){return a(e[s][1][t]||t)}),P,P.exports,t,e,r,n)}return r[s].exports}for(var u="function"==typeof require&&require,s=0;s<n.length;s++)a(n[s]);return a}({1:[function(t,e,r){var n=t("./Precedent.js");"object"!=typeof window||window.hasOwnProperty("Precedent")||(window.Precedent=n),e.exports=n},{"./Precedent.js":2}],2:[function(t,e,r){ | ||
/** | ||
* Simple browser shim loader - assign the npm module to a window global automatically | ||
* | ||
* @license MIT | ||
* @author <steven@velozo.com> | ||
*/ | ||
var n=t("./Precedent.js");"object"!=typeof window||window.hasOwnProperty("Precedent")||(window.Precedent=n),e.exports=n},{"./Precedent.js":2}],2:[function(t,e,r){ | ||
/** | ||
* Precedent Meta-Templating | ||
@@ -11,0 +4,0 @@ * |
{ | ||
"name": "precedent", | ||
"version": "1.0.10", | ||
"version": "1.0.11", | ||
"description": "Precedent Meta-Templating", | ||
@@ -5,0 +5,0 @@ "main": "source/Precedent.js", |
/** | ||
* Simple browser shim loader - assign the npm module to a window global automatically | ||
* | ||
* @license MIT | ||
* @author <steven@velozo.com> | ||
@@ -6,0 +5,0 @@ */ |
@@ -20,4 +20,4 @@ /** | ||
} | ||
/** | ||
/** | ||
* Add a child character to a Parse Tree node | ||
@@ -35,6 +35,6 @@ * @method addChild | ||
pTree[pPattern[pIndex]] = {}; | ||
return pTree[pPattern[pIndex]]; | ||
} | ||
/** Add a Pattern to the Parse Tree | ||
@@ -63,3 +63,3 @@ * @method addPattern | ||
tmpLeaf.PatternEnd = ((typeof(pPatternEnd) === 'string') && (pPatternEnd.length > 0)) ? pPatternEnd : pPatternStart; | ||
tmpLeaf.Parse = (typeof(pParser) === 'function') ? pParser : | ||
tmpLeaf.Parse = (typeof(pParser) === 'function') ? pParser : | ||
(typeof(pParser) === 'string') ? () => { return pParser; } : | ||
@@ -66,0 +66,0 @@ (pData) => { return pData; }; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
121501
1487