Skip to content

Instantly share code, notes, and snippets.

@sebmarkbage
Created March 22, 2012 21:16
Show Gist options
  • Select an option

  • Save sebmarkbage/2164638 to your computer and use it in GitHub Desktop.

Select an option

Save sebmarkbage/2164638 to your computer and use it in GitHub Desktop.

Revisions

  1. sebmarkbage created this gist Mar 22, 2012.
    5 changes: 5 additions & 0 deletions bootstrap.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    var loader = require('../path/to/link');
    loader.alias('package', '../path/to/package.js');
    loader.alias('package2', '../path/to/package2.js');
    loader.base('../path/to/my/root/folder/');
    loader.load('main');
    1 change: 1 addition & 0 deletions index.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    <script src="../path/to/link.js" data-main="bootstrap.js"></script>