diff -r 1648489454d7 -r 843f96e4eebd web/res/js/mustache.js --- a/web/res/js/mustache.js Thu Jul 11 15:30:43 2013 +0200 +++ b/web/res/js/mustache.js Tue Jul 23 13:14:21 2013 +0200 @@ -1,436 +1,536 @@ -/* - mustache.js — Logic-less templates in JavaScript +/*! + * mustache.js - Logic-less {{mustache}} templates with JavaScript + * http://github.com/janl/mustache.js + */ - See http://mustache.github.com/ for more info. -*/ +/*global define: false*/ -var Mustache = function () { - var _toString = Object.prototype.toString; +(function (root, factory) { + if (typeof exports === "object" && exports) { + factory(exports); // CommonJS + } else { + var mustache = {}; + factory(mustache); + if (typeof define === "function" && define.amd) { + define(mustache); // AMD + } else { + root.Mustache = mustache; //