Skip to content

Instantly share code, notes, and snippets.

@Raynos
Created November 19, 2011 21:35
Show Gist options
  • Save Raynos/1379390 to your computer and use it in GitHub Desktop.
Save Raynos/1379390 to your computer and use it in GitHub Desktop.
burrito(file, function (node) {
if (node.name === "call" &&
node.start.value === "load"
) {
// magic numbers everywhere!
var module = node.value[1][0][1];
preLoad(module);
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment