Skip to content

Commit

Permalink
$(*T#(T(#_U$HGTN WENET ABOUT TO KILL
Browse files Browse the repository at this point in the history
  • Loading branch information
chee committed Aug 17, 2013
1 parent 69e31d2 commit dae89bc
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 12 deletions.
2 changes: 1 addition & 1 deletion app/index.html
Expand Up @@ -13,7 +13,7 @@
<!-- build:js scripts/modernizr.js -->
<script src="bower_components/modernizr/modernizr.js"></script>
<!-- endbuild -->
<!-- build:js scripts/js.js -->
<!-- build:js scripts/really.js -->
<script data-main="scripts/main" src="bower_components/requirejs/require.js"></script>
<!-- endbuild -->
</head>
Expand Down
9 changes: 9 additions & 0 deletions app/scripts/main.js
Expand Up @@ -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" ]
}
}

});
Expand Down
4 changes: 1 addition & 3 deletions app/scripts/ui/front.js
@@ -1,8 +1,6 @@
define([
"flight/component",
"jquery",
"lodash"
], function ( defineComponent, $, _ ) {
], function ( defineComponent ) {
"use strict";
return defineComponent( front );

Expand Down
6 changes: 2 additions & 4 deletions 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 );
Expand Down
6 changes: 2 additions & 4 deletions 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 );

Expand Down

0 comments on commit dae89bc

Please sign in to comment.