Mercurial > spidermonkey-playground
view sample-module.js @ 25:c837221bd717
Added docs to sample-module.js.
author | Atul Varma <varmaa@toolness.com> |
---|---|
date | Mon, 22 Jun 2009 08:57:09 -0700 |
parents | 1f48075a404e |
children | 69622f55fcf6 |
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()); };