diff --git a/app/index.html b/app/index.html index bb07804..9f89265 100644 --- a/app/index.html +++ b/app/index.html @@ -13,7 +13,7 @@ - + diff --git a/app/scripts/main.js b/app/scripts/main.js index 43e4673..2724343 100644 --- a/app/scripts/main.js +++ b/app/scripts/main.js @@ -24,6 +24,15 @@ require.config({ app: { deps: [ "bower_components/flight/lib/index" ] }, + "scripts/ui/pictures": { + deps: [ "lodash", "jquery" ] + }, + "scripts/ui/panels": { + deps: [ "lodash", "jquery" ] + }, + "scripts/ui/front": { + deps: [ "lodash", "jquery" ] + } } }); diff --git a/app/scripts/ui/front.js b/app/scripts/ui/front.js index e11a14b..b4efcc5 100644 --- a/app/scripts/ui/front.js +++ b/app/scripts/ui/front.js @@ -1,8 +1,6 @@ define([ "flight/component", - "jquery", - "lodash" -], function ( defineComponent, $, _ ) { +], function ( defineComponent ) { "use strict"; return defineComponent( front ); diff --git a/app/scripts/ui/panels.js b/app/scripts/ui/panels.js index e73d72c..e8117fa 100644 --- a/app/scripts/ui/panels.js +++ b/app/scripts/ui/panels.js @@ -1,9 +1,7 @@ define([ "flight/component", - "jquery", - "lodash", - "text!templates/panel.html" -], function ( defineComponent, $, _, panelTemplate ) { + "text!templates/panel.html", +], function ( defineComponent, panelTemplate ) { "use strict"; return defineComponent( panels ); diff --git a/app/scripts/ui/pictures.js b/app/scripts/ui/pictures.js index dfae216..cf47a5f 100644 --- a/app/scripts/ui/pictures.js +++ b/app/scripts/ui/pictures.js @@ -1,9 +1,7 @@ define([ "flight/component", - "jquery", - "lodash", - "text!templates/slide.html" -], function ( defineComponent, $, _, slideTemplate ) { + "text!templates/slide.html", +], function ( defineComponent, slideTemplate ) { "use strict"; return defineComponent( slide );