瀏覽代碼

Forgot to build

pull/731/head
Andrew Leedham 6 年之前
父節點
當前提交
4019959534
共有 1 個檔案被更改,包括 8 行新增0 行删除
  1. +8
    -0
      mustache.js

+ 8
- 0
mustache.js 查看文件

@@ -676,9 +676,17 @@
Scanner: undefined,
Context: undefined,
Writer: undefined,
/**
* Allows a user to override the default caching strategy, by providing an
* object with set, get and clear methods. This can also be used to disable
* the cache by setting it to the literal `undefined`.
*/
set templateCache (cache) {
defaultWriter.templateCache = cache;
},
/**
* Gets the default or overridden caching object from the default writer.
*/
get templateCache () {
return defaultWriter.templateCache;
}


Loading…
取消
儲存