mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
handlebars and templates are loaded with require.js
This commit is contained in:
parent
2407e33ea2
commit
7c483e2db9
8 changed files with 13 additions and 20 deletions
|
@ -3,6 +3,7 @@ require.config({
|
|||
|
||||
paths: {
|
||||
'backbone' : 'JsLibraries/backbone',
|
||||
'handlebars' : 'JsLibraries/handlebars.runtime',
|
||||
'bootstrap' : 'JsLibraries/bootstrap',
|
||||
'bootstrap.slider' : 'JsLibraries/bootstrap.slider',
|
||||
'backbone.mutators' : 'JsLibraries/backbone.mutators',
|
||||
|
@ -15,7 +16,6 @@ require.config({
|
|||
'$' : 'JsLibraries/jquery',
|
||||
'underscore' : 'JsLibraries/underscore',
|
||||
'marionette' : 'JsLibraries/backbone.marionette',
|
||||
'handlebars' : 'JsLibraries/handlebars',
|
||||
'signalR' : 'JsLibraries/jquery.signalR',
|
||||
'libs' : 'JsLibraries/'
|
||||
},
|
||||
|
@ -62,10 +62,6 @@ require.config({
|
|||
}
|
||||
},
|
||||
|
||||
handlebars: {
|
||||
exports: 'Handlebars'
|
||||
},
|
||||
|
||||
signalR: {
|
||||
dep: ['$']
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue