We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c03f25a commit 60c2da8Copy full SHA for 60c2da8
mustache.js
@@ -3,15 +3,16 @@
3
* http://github.com/janl/mustache.js
4
*/
5
6
-/*global define: false*/
+/*global define: false Mustache: true*/
7
8
(function defineMustache (global, factory) {
9
if (typeof exports === 'object' && exports) {
10
factory(exports); // CommonJS
11
} else if (typeof define === 'function' && define.amd) {
12
define(['exports'], factory); // AMD
13
} else {
14
- factory(global.Mustache = {}); // <script>
+ Mustache = {};
15
+ factory(Mustache); // script, wsh, asp
16
}
17
}(this, function mustacheFactory (mustache) {
18
0 commit comments