diff --git a/.gitignore b/.gitignore index adaaa81..7ef2658 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ node_modules -jquery.mustache.js mootools.mustache.js dojox yui3 diff --git a/jquery.mustache.js b/jquery.mustache.js new file mode 100644 index 0000000..d4e849a --- /dev/null +++ b/jquery.mustache.js @@ -0,0 +1,558 @@ +/* +Shameless port of a shameless port +@defunkt => @janl => @aq + +See http://github.com/defunkt/mustache for more info. +*/ + +;(function($) { + +/*! + * 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; //