1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-23 00:07:07 +00:00

Added shim for _

This commit is contained in:
Keivan Beigi 2015-07-27 22:34:44 -07:00
parent fcfbfae4c1
commit f4d9e3495a
3 changed files with 10 additions and 4 deletions

View file

@ -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)

View file

@ -0,0 +1,4 @@
var _ = require('../JsLibraries/lodash.underscore');
window._ = window._ || _;
module.exports = window._;

View file

@ -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',