test-formhandler.html 929 Bytes
Newer Older
S Anand's avatar
S Anand committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<!DOCTYPE html>
<html>
<head>
  <title>formhandler tests</title>
  <link rel="stylesheet" href="../node_modules/bootstrap/dist/css/bootstrap.min.css">
  <script src="../node_modules/jquery/dist/jquery.min.js"></script>
  <script src="../node_modules/popper.js/dist/umd/popper.min.js"></script>
  <script src="../node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
  <script src="../node_modules/lodash/lodash.min.js"></script>
  <script src="../dist/formhandler.min.js"></script>
  <script src="tape.js"></script>

</head>
<body>
  <script>
    tape.onFinish(function () { window.renderComplete = true })
  </script>

  <div class="row">
    <div class="col">
      <div class="formhandler" src="../formhandler-data" data-page-size="10"></div>
    </div>
  </div>
  <script>
    tape('$().formhandler() exists', function(t) {
      $('.formhandler').formhandler({
      })
      t.end()
    })
  </script>
</body>
</html>