JSAN, AJAX, and Perl 21

Test.More

  <html>
  <head>
   <script type="text/javascript" src="lib/JSAN.js" />
   <script type="text/javascript">
    JSAN.addRepository("lib", "../lib");
    JSAN.use("Test.More");
   </script>
  </head>
  <body>

   <pre style="white-space: pre" id="test">
    <script type="text/javascript">
     plan({ tests: 2 });

     JSAN.use("DOM.Ready");
     DOM.Ready._clearTimer();

     is( typeof DOM.Ready, "object", "namespace exists" );
     ok( DOM.Ready.VERSION, "found library VERSION" );
    </script>
   </pre>

  </body>
  </html>
continued...
Copyright © 2005 David Rolsky