mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-23 08:15:27 +00:00
Added shim for _
This commit is contained in:
parent
fcfbfae4c1
commit
f4d9e3495a
3 changed files with 10 additions and 4 deletions
|
@ -22,7 +22,7 @@ gulp.task('less', function() {
|
|||
paths.src.root + 'Settings/settings.less',
|
||||
paths.src.root + 'System/Logs/logs.less',
|
||||
paths.src.root + 'System/Update/update.less',
|
||||
paths.src.root + 'System/Info/info.less',
|
||||
paths.src.root + 'System/Info/info.less'
|
||||
];
|
||||
|
||||
if (phantom) {
|
||||
|
@ -40,8 +40,8 @@ gulp.task('less', function() {
|
|||
paths.src.root + 'Settings/settings.less',
|
||||
paths.src.root + 'System/Logs/logs.less',
|
||||
paths.src.root + 'System/Update/update.less',
|
||||
paths.src.root + 'System/Info/info.less',
|
||||
]
|
||||
paths.src.root + 'System/Info/info.less'
|
||||
];
|
||||
}
|
||||
|
||||
return gulp.src(src)
|
||||
|
|
4
src/UI/Shims/underscore.js
Normal file
4
src/UI/Shims/underscore.js
Normal file
|
@ -0,0 +1,4 @@
|
|||
var _ = require('../JsLibraries/lodash.underscore');
|
||||
window._ = window._ || _;
|
||||
|
||||
module.exports = window._;
|
|
@ -29,6 +29,7 @@ module.exports = {
|
|||
'backbone.deepmodel': 'JsLibraries/backbone.deep.model',
|
||||
'backbone.pageable': 'JsLibraries/backbone.pageable',
|
||||
'backbone-pageable': 'JsLibraries/backbone.pageable',
|
||||
'backbone.paginator': 'JsLibraries/backbone.paginator',
|
||||
'backbone.validation': 'Shims/backbone.validation',
|
||||
'backbone.modelbinder': 'JsLibraries/backbone.modelbinder',
|
||||
'backbone.collectionview': 'Shims/backbone.collectionview',
|
||||
|
@ -37,12 +38,13 @@ module.exports = {
|
|||
'backgrid.selectall': 'Shims/backbone.backgrid.selectall',
|
||||
'fullcalendar': 'JsLibraries/fullcalendar',
|
||||
'backstrech': 'JsLibraries/jquery.backstretch',
|
||||
'underscore': 'JsLibraries/lodash.underscore',
|
||||
'underscore': 'Shims/underscore',
|
||||
'marionette': 'Shims/backbone.marionette',
|
||||
'signalR': 'Shims/jquery.signalR',
|
||||
'jquery-ui': 'JsLibraries/jquery-ui',
|
||||
'jquery.knob': 'JsLibraries/jquery.knob',
|
||||
'jquery.easypiechart': 'JsLibraries/jquery.easypiechart',
|
||||
'jquery.easypiechart': 'JsLibraries/jquery.easypiechart',
|
||||
'jquery.dotdotdot': 'JsLibraries/jquery.dotdotdot',
|
||||
'messenger': 'Shims/messenger',
|
||||
'jquery': 'Shims/jquery',
|
||||
|
|
Loading…
Reference in a new issue