Skip to content

Instantly share code, notes, and snippets.

@deanlandolt
Forked from isaacs/requires.js
Created February 4, 2010 20:29
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 deanlandolt/295068 to your computer and use it in GitHub Desktop.
Save deanlandolt/295068 to your computer and use it in GitHub Desktop.
// exports defined out here.
exports.foo = "bar"
require(
{sys: "sys", File: "file", sqlite: "persistence/sqlite3"}
)(function () {
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