Skip to content

Instantly share code, notes, and snippets.

@micmath
Created November 18, 2011 13:51
Show Gist options
  • Save micmath/1376505 to your computer and use it in GitHub Desktop.
Save micmath/1376505 to your computer and use it in GitHub Desktop.
<script>
bloader = {
baseUrl: '/path/to/my/js',
pluginPath: 'for/some/reason/plugins/r/here',
paths: {
curl: 'curl/src/curl',
cssx: 'cssx/src/cssx',
my: '../../my-lib/'
},
apiName: 'someOtherName'
};
</script>
<script src="bloader.js" data-wrap="require.js">
<script>
bload('jquery');
if (bload.wraps('require')) {
require('foo');
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment