Skip to content

Instantly share code, notes, and snippets.

@greatseth
Created October 9, 2012 15:50
Show Gist options
  • Select an option

  • Save greatseth/3859673 to your computer and use it in GitHub Desktop.

Select an option

Save greatseth/3859673 to your computer and use it in GitHub Desktop.
var require = {
paths: {
'underscore': 'vendor/underscore/underscore',
'backbone': 'vendor/backbone/backbone'
},
shim: {
'underscore': { exports: '_' },
'backbone': { exports: 'Backbone', deps: ['underscore'] }
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment