1 | <!DOCTYPE html>
|
2 | <html lang="en">
|
3 |
|
4 | <head>
|
5 | <script src="../node_modules/es5-shim/es5-shim.js"></script>
|
6 | <script src="../node_modules/lazy-ass/index.js"></script>
|
7 | <script src="../node_modules/check-types/src/check-types.js"></script>
|
8 | <script src="../dist/k2.js"></script>
|
9 | </head>
|
10 |
|
11 | <body>
|
12 | <p>testing k2 load</p>
|
13 | <script src="../node_modules/console-log-div/console-log-div.js"></script>
|
14 | <script>
|
15 | (function testK2(root) {
|
16 | console.log('testing k2');
|
17 | la(check.object(root.k2), 'cannot find k2');
|
18 | la(check.fn(root.k2.findPartialMatches), 'has findPartialMatches');
|
19 | }(window));
|
20 | </script>
|
21 | </body>
|
22 | </html>
|