From 3ef52caaa472839ea894ca50fac555d4170b1cd8 Mon Sep 17 00:00:00 2001 From: Phillip Louie Date: Fri, 14 Jun 2024 13:48:16 -0600 Subject: [PATCH] Resurrecting 93d27f644d62b90bbe15f757c4460a5dea2ca98f after fork sync --- .gitignore | 1 - jquery.mustache.js | 558 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 558 insertions(+), 1 deletion(-) create mode 100644 jquery.mustache.js 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; //