Kaynağa Gözat

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 yıl önce
ebeveyn
işleme
60c2da8078
1 değiştirilmiş dosya ile 3 ekleme ve 2 silme
  1. +3
    -2
      mustache.js

+ 3
- 2
mustache.js Dosyayı Görüntüle

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


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


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




Yükleniyor…
İptal
Kaydet