|
|
@@ -9,9 +9,9 @@ |
|
|
if (typeof exports === "object" && exports) { |
|
|
if (typeof exports === "object" && exports) { |
|
|
factory(exports); // CommonJS |
|
|
factory(exports); // CommonJS |
|
|
} else if (typeof define === "function" && define.amd) { |
|
|
} else if (typeof define === "function" && define.amd) { |
|
|
define(factory({})); // AMD |
|
|
|
|
|
|
|
|
define(['exports'], factory); // AMD |
|
|
} else { |
|
|
} else { |
|
|
global.Mustache = factory({}); // <script> |
|
|
|
|
|
|
|
|
factory(global.Mustache = {}); // <script> |
|
|
} |
|
|
} |
|
|
}(this, function (mustache) { |
|
|
}(this, function (mustache) { |
|
|
|
|
|
|
|
|
@@ -39,7 +39,7 @@ |
|
|
function isWhitespace(string) { |
|
|
function isWhitespace(string) { |
|
|
return !testRegExp(nonSpaceRe, string); |
|
|
return !testRegExp(nonSpaceRe, string); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var entityMap = { |
|
|
var entityMap = { |
|
|
"&": "&", |
|
|
"&": "&", |
|
|
"<": "<", |
|
|
"<": "<", |
|
|
@@ -575,6 +575,4 @@ |
|
|
mustache.Context = Context; |
|
|
mustache.Context = Context; |
|
|
mustache.Writer = Writer; |
|
|
mustache.Writer = Writer; |
|
|
|
|
|
|
|
|
return mustache; |
|
|
|
|
|
|
|
|
|
|
|
})); |
|
|
})); |