Skip to content

Instantly share code, notes, and snippets.

@tim-smart
Forked from isaacs/requires.js
Created February 4, 2010 20:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tim-smart/295066 to your computer and use it in GitHub Desktop.
Save tim-smart/295066 to your computer and use it in GitHub Desktop.
// exports defined out here.
exports.foo = "bar"
require(
"sys", "file", "persistence/sqlite3"
)(function (sys, file, sqlite) {
sys.p(File);
// Rest of program here
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment