瀏覽代碼

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 年之前
父節點
當前提交
60c2da8078
共有 1 個檔案被更改,包括 3 行新增2 行删除
  1. +3
    -2
      mustache.js

+ 3
- 2
mustache.js 查看文件

@@ -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) {



Loading…
取消
儲存