diff --git a/modules/system/assets/ui/vendor/mustache/mustache.js b/modules/system/assets/ui/vendor/mustache/mustache.js index 344d65b86..e83c5f9c6 100644 --- a/modules/system/assets/ui/vendor/mustache/mustache.js +++ b/modules/system/assets/ui/vendor/mustache/mustache.js @@ -1,56 +1,76 @@ /*! * mustache.js - Logic-less {{mustache}} templates with JavaScript * http://github.com/janl/mustache.js + * version 2.3.2 */ -/*global define: false*/ +/*global define: false Mustache: true*/ -(function (global, factory) { - if (typeof exports === "object" && exports) { +(function defineMustache (global, factory) { + if (typeof exports === 'object' && exports && typeof exports.nodeName !== 'string') { factory(exports); // CommonJS - } else if (typeof define === "function" && define.amd) { + } else if (typeof define === 'function' && define.amd) { define(['exports'], factory); // AMD } else { - factory(global.Mustache = {}); //