Przeglądaj źródła

Minor changes to make it compatible with both WSH and ASP (eslint compatible)

Made it eslint compatible.
tags/v2.1.0
Fabio Zendhi Nagao 11 lat temu
rodzic
commit
60c2da8078
1 zmienionych plików z 3 dodań i 2 usunięć
  1. +3
    -2
      mustache.js

+ 3
- 2
mustache.js Wyświetl plik

@@ -3,7 +3,7 @@
* http://github.com/janl/mustache.js
*/

/*global define: false*/
/*global define: false Mustache: true*/

(function defineMustache (global, factory) {
if (typeof exports === 'object' && exports) {
@@ -11,7 +11,8 @@
} else if (typeof define === 'function' && define.amd) {
define(['exports'], factory); // AMD
} else {
factory(global.Mustache = {}); // <script>
Mustache = {};
factory(Mustache); // script, wsh, asp
}
}(this, function mustacheFactory (mustache) {



Ładowanie…
Anuluj
Zapisz