Sha256: 31112b1625479dbea012ff7c4d413b3fa782fe1e2f929814694062cc7c530897
Contents?: true
Size: 761 Bytes
Versions: 4
Compression:
Stored size: 761 Bytes
Contents
<html> <head> <script type="text/javascript" src="JSAN.js"></script> </head> <body> <pre id="test"> <script type="text/javascript"> // TODO: Make this a harness for the other tests JSAN.use('Test.More'); JSAN.addRepository("../lib"); var lst = []; plan({"tests": 1}); var wc = {}; wc['MochiKit'] = true; for (var k in window) { wc[k] = true; } for (var k in window) { wc[k] = true; } JSAN.use('MochiKit.MochiKit', []); for (var k in window) { if (!(k in wc) && !(k.charAt(0) == '[')) { lst.push(k); } } lst.sort(); pollution = lst.join(" "); is(pollution, "compare reduce", "namespace pollution?"); JSAN.use('MochiKit.MochiKit'); </script> </pre> </body> </html>
Version data entries
4 entries across 4 versions & 1 rubygems