Skip to content

Instantly share code, notes, and snippets.

@bobwei
Created March 3, 2014 14:48
Show Gist options
  • Save bobwei/9326533 to your computer and use it in GitHub Desktop.
Save bobwei/9326533 to your computer and use it in GitHub Desktop.
require.config({
paths: {
jquery: '../bower_components/jquery/jquery',
bootstrapAffix: '../bower_components/sass-bootstrap/js/affix',
bootstrapAlert: '../bower_components/sass-bootstrap/js/alert',
bootstrapButton: '../bower_components/sass-bootstrap/js/button',
bootstrapCarousel: '../bower_components/sass-bootstrap/js/carousel',
bootstrapCollapse: '../bower_components/sass-bootstrap/js/collapse',
bootstrapDropdown: '../bower_components/sass-bootstrap/js/dropdown',
bootstrapPopover: '../bower_components/sass-bootstrap/js/popover',
bootstrapScrollspy: '../bower_components/sass-bootstrap/js/scrollspy',
bootstrapTab: '../bower_components/sass-bootstrap/js/tab',
bootstrapTooltip: '../bower_components/sass-bootstrap/js/tooltip',
bootstrapTransition: '../bower_components/sass-bootstrap/js/transition',
'angular-route': '../bower_components/angular-route/angular-route',
angular: '../bower_components/angular/angular',
requirejs: '../bower_components/requirejs/require',
'sass-bootstrap': '../bower_components/sass-bootstrap/dist/js/bootstrap',
'requirejs-text': '../bower_components/requirejs-text/text',
nginfinitescroll: '../bower_components/nginfinitescroll/build/ng-infinite-scroll.min',
underscore: '../bower_components/underscore/underscore',
'angular-promise-tracker': '../bower_components/angular-promise-tracker/promise-tracker',
'angular-moment': '../bower_components/angular-moment/angular-moment',
'angular-busy': '../bower_components/angular-busy/dist/angular-busy',
moment: '../bower_components/moment/moment',
'angular-bootstrap': '../bower_components/angular-bootstrap/ui-bootstrap-tpls',
'angular-local-storage': '../bower_components/angular-local-storage/angular-local-storage',
'angular-cookies': '../bower_components/angular-cookies/angular-cookies',
'angular-animate': '../bower_components/angular-animate/angular-animate'
},
shim: {
bootstrapAffix: {
deps: [
'jquery'
]
},
bootstrapAlert: {
deps: [
'jquery'
]
},
bootstrapButton: {
deps: [
'jquery'
]
},
bootstrapCarousel: {
deps: [
'jquery'
]
},
bootstrapCollapse: {
deps: [
'jquery'
]
},
bootstrapDropdown: {
deps: [
'jquery'
]
},
bootstrapPopover: {
deps: [
'jquery'
]
},
bootstrapScrollspy: {
deps: [
'jquery'
]
},
bootstrapTab: {
deps: [
'jquery'
]
},
bootstrapTooltip: {
deps: [
'jquery'
]
},
bootstrapTransition: {
deps: [
'jquery'
]
},
angular: {
exports: 'angular'
},
'angular-route': {
deps: [
'angular'
]
},
nginfinitescroll: {
deps: [
'angular',
'jquery'
]
},
underscore: {
exports: '_'
},
'angular-promise-tracker': {
deps: [
'angular'
]
},
'angular-moment': {
deps: [
'angular'
]
},
'angular-bootstrap': {
deps: [
'angular'
]
},
'angular-local-storage': {
deps: [
'angular'
]
},
'angular-cookies': {
deps: [
'angular'
]
},
'angular-animate': {
deps: [
'angular'
]
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment