diff pydershell/test.js @ 21:1950b0b5bcd8

It's now possible to expose python class instances to JS, if they're declared the right way (for security purposes).
author Atul Varma <varmaa@toolness.com>
date Mon, 07 Sep 2009 15:33:35 -0700
parents 1d62177c5c27
children b7037cd0f375
line wrap: on
line diff
--- a/pydershell/test.js	Mon Sep 07 12:59:13 2009 -0700
+++ b/pydershell/test.js	Mon Sep 07 15:33:35 2009 -0700
@@ -13,3 +13,7 @@
 //foo(blah);
 
 bar({blarg: "aweg", bar: function() { return this.blarg; }});
+
+var mybaz = baz();
+print(mybaz.woozle(5));
+ensureBaz(mybaz);