root/mochikit/branches/scriptaculous/tests/test_MochiKit-MochiKit.html

Revision 384, 0.6 kB (checked in by bob, 3 years ago)

remove Compat, strip out 2k

  • Property svn:mime-type set to text/html
  • Property svn:eol-style set to native
Line 
1 <html>
2 <head>
3     <script type="text/javascript" src="Test/Builder.js"></script>
4     <script type="text/javascript" src="Test/More.js"></script>
5     <script type="text/javascript" src="../MochiKit/MochiKit.js"></script>
6 </head>
7 <body>
8
9 <pre id="test">
10 <script type="text/javascript">
11     // TODO: Make this a harness for the other tests
12     plan({"tests": 4});
13     is( isUndefined(null), false, "null is not undefined" );
14     is( isUndefined(""), false, "empty string is not undefined" );
15     is( isUndefined(undefined), true, "undefined is undefined" );
16     is( isUndefined({}.foo), true, "missing property is undefined" );
17 </script>
18 </pre>
19 </body>
20 </html>
Note: See TracBrowser for help on using the browser.