diff js/caja-test.js @ 0:633c9cb05555

Origination.
author Atul Varma <varmaa@toolness.com>
date Sun, 07 Jun 2009 19:29:10 -0700
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/js/caja-test.js	Sun Jun 07 19:29:10 2009 -0700
@@ -0,0 +1,13 @@
+___.getNewModuleHandler().setImports(
+  {register: ___.func(
+     function(f) {
+       console.log(f);
+     })
+  });
+
+window.addEventListener(
+  "load",
+  function() {
+  },
+  false
+);