diff -r 91023037f841 -r 3210bf928a11 src/js/libs/mustache.js --- a/src/js/libs/mustache.js Wed May 15 16:22:37 2013 +0200 +++ b/src/js/libs/mustache.js Thu May 16 13:34:02 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; //