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/compat/test.html | |
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/compat/test.html')
-rw-r--r-- | js/test/compat/test.html | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/js/test/compat/test.html b/js/test/compat/test.html new file mode 100644 index 0000000..6254e4c --- /dev/null +++ b/js/test/compat/test.html @@ -0,0 +1,29 @@ +<!DOCTYPE html> +<html lang='en-US'> + <head> + <meta charset='utf-8'/> + <title>Luigi Template Compatibility Mocha Tests</title> + <link href='https://unpkg.com/mocha@5.2.0/mocha.css' rel='stylesheet' /> + </head> + + <body> + <div id='mocha'></div> + + <script src='../../luigi-template.js'></script> + <script src='../../luigi-compat.js'></script> + <script src='https://unpkg.com/chai/chai.js'></script> + <script src='https://unpkg.com/mocha@5.2.0/mocha.js'></script> + + <script>mocha.setup('bdd')</script> + <script src='template.js'></script> + <script src='filters.js'></script> + <script src='cache.js'></script> + <script src='errors.js'></script> + <script src='default-filters.js'></script> + <script> + mocha.checkLeaks(); + mocha.run(); + </script> + </body> +</html> + |