diff options
author | Paul Duncan <pabs@pablotron.org> | 2018-09-09 19:43:43 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2018-09-09 19:43:43 -0400 |
commit | a22f6a55ae65ca3675f7c97a030560e91d5b4d1f (patch) | |
tree | f1c73f2aa3203a3c375190ae3fb8402594d18af5 /js/test/cache.js | |
parent | a498f0b7f0e3b498519160e516d4e4d7c87575e6 (diff) | |
download | luigi-template-a22f6a55ae65ca3675f7c97a030560e91d5b4d1f.tar.bz2 luigi-template-a22f6a55ae65ca3675f7c97a030560e91d5b4d1f.zip |
js: update api, add luigi-compat.js and test/compat
Diffstat (limited to 'js/test/cache.js')
-rw-r--r-- | js/test/cache.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/test/cache.js b/js/test/cache.js index 22490c1..9395223 100644 --- a/js/test/cache.js +++ b/js/test/cache.js @@ -3,7 +3,7 @@ var assert = chai.assert; it('cache', function() { - var cache = new LuigiTemplate.Cache({ + var cache = new Luigi.Cache({ foo: 'foo%{bar}', }); @@ -15,7 +15,7 @@ }); it('cache with array', function() { - var cache = new LuigiTemplate.Cache({ + var cache = new Luigi.Cache({ foo: ['foo%{bar}'], }); @@ -27,7 +27,7 @@ }); it('cache singleton', function() { - var cache = LuigiTemplate.cache({ + var cache = Luigi.cache({ foo: 'foo%{bar}', }); @@ -40,7 +40,7 @@ it('cache with custom filters', function() { - var cache = LuigiTemplate.cache({ + var cache = Luigi.cache({ foo: ['foo%{bar | cache-barify}'], }, { 'cache-barify': function(s) { |