Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
milcktoast committed Nov 10, 2014
1 parent 1c58ec9 commit 7c7ffe5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion grunt/config/uglify.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@
module.exports = function (config) {
return {
app: {
src: config.static + 'js/{templates,app}.develop.js',
src: [
config.static + 'js/shaders.develop.js',
config.static + 'js/app.develop.js'
],
dest: config.static + 'js/app.min.js'
},
libs: {
Expand Down
2 changes: 1 addition & 1 deletion static/js/app.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var shaders = window.App.shaders;
var shaders = window.App && window.App.shaders;
window.App = {
shaders : shaders
};
Expand Down

0 comments on commit 7c7ffe5

Please sign in to comment.