Skip to content

Commit

Permalink
issue-1228-2: removed bowser library from compilation (adaptlearning#…
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverfoster authored Oct 4, 2016
1 parent 4d14f39 commit cf21727
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
5 changes: 4 additions & 1 deletion config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ require.config({
inview: 'empty:',
a11y: 'empty:',
scrollTo: 'empty:',
libraries: 'empty:'
libraries: 'empty:',
bowser: 'empty:',
'core/js/libraries/bowser': 'empty:',
'coreJS/libraries/bowser': 'empty:'
},
map: {
'*': {
Expand Down
7 changes: 5 additions & 2 deletions src/core/js/scriptLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
coreViews: 'core/js/views',
coreModels: 'core/js/models',
coreCollections: 'core/js/collections',
coreHelpers: 'core/js/helpers'
coreHelpers: 'core/js/helpers',
'coreJS/libraries/bowser': 'libraries/bowser',
'core/js/libraries/bowser': 'libraries/bowser'
}
},
paths: {
Expand All @@ -28,7 +30,8 @@
imageReady: 'libraries/imageReady',
inview: 'libraries/inview',
a11y: 'libraries/jquery.a11y',
scrollTo: 'libraries/scrollTo'
scrollTo: 'libraries/scrollTo',
bowser: 'libraries/bowser'
}
});
loadJQuery();
Expand Down

0 comments on commit cf21727

Please sign in to comment.