diff --git a/bower.json b/bower.json index c0799ad57..80604ca14 100644 --- a/bower.json +++ b/bower.json @@ -9,7 +9,8 @@ "underscore": "~1.7.0", "protobuf": "~3.8.0", "bootstrap": "~3.3.0", - "jquery": "liliakai/jquery#2.1.1-ajax-nativetransport" + "jquery": "liliakai/jquery#2.1.1-ajax-nativetransport", + "mustache": "~0.8.2" }, "preen": { "jquery": [ @@ -24,6 +25,9 @@ "protobuf": [ "dist/ProtoBuf.js" ], + "mustache": [ + "mustache.js" + ], "underscore": [ "underscore.js" ], diff --git a/js-deps/mustache.js b/bower_components/mustache/mustache.js similarity index 83% rename from js-deps/mustache.js rename to bower_components/mustache/mustache.js index be3d01a25..a3aac8f5e 100644 --- a/js-deps/mustache.js +++ b/bower_components/mustache/mustache.js @@ -5,16 +5,32 @@ /*global define: false*/ -(function (global, factory) { +(function (root, factory) { if (typeof exports === "object" && exports) { factory(exports); // CommonJS - } else if (typeof define === "function" && define.amd) { - define(['exports'], factory); // AMD } else { - factory(global.Mustache = {}); // - diff --git a/js-deps/bower_components.js b/js-deps/bower_components.js index 430834b63..4681c7c7a 100644 --- a/js-deps/bower_components.js +++ b/js-deps/bower_components.js @@ -17761,6 +17761,577 @@ return jQuery; })(this); +/*! + * mustache.js - Logic-less {{mustache}} templates with JavaScript + * http://github.com/janl/mustache.js + */ + +/*global define: false*/ + +(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; // -