Mercurial > spidermonkey-playground
view sample-module.js @ 42:68d2a675a33a
Added a 'bind' method to ServerSocket.
author | Atul Varma <varmaa@toolness.com> |
---|---|
date | Wed, 24 Jun 2009 14:05:32 -0700 |
parents | 69622f55fcf6 |
children |
line wrap: on
line source
// This is a sample SecurableModule. function boo() { return boo.caller; } exports.foo = function foo() { imports.print(imports.blop + " " + foo.caller + " " + boo() + " " + imports.print.__proto__); };