Skip to content

Commit

Permalink
fix(templates): styling issues that cause jshint to fail
Browse files Browse the repository at this point in the history
  • Loading branch information
DaftMonk committed Dec 22, 2013
1 parent 81b4e11 commit 130426c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions templates/coffeescript-min/app.coffee
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'

angular.module('<%= scriptAppName %>', [<%= angularModules %>])
angular.module('<%= scriptAppName %>', [<%= angularModules %>])<% if (ngRoute) { %>
.config ['$routeProvider', '$locationProvider', ($routeProvider, $locationProvider) ->
$routeProvider
.when '/',
Expand All @@ -9,4 +9,4 @@ angular.module('<%= scriptAppName %>', [<%= angularModules %>])
.otherwise
redirectTo: '/'
$locationProvider.html5Mode(true)
]
]<% } %>
3 changes: 1 addition & 2 deletions templates/javascript-min/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@ angular.module('<%= scriptAppName %>', [<%= angularModules %>])<% if (ngRoute) {
redirectTo: '/'
});
$locationProvider.html5Mode(true);
}]);
<% } %>;
}])<% } %>;
2 changes: 1 addition & 1 deletion templates/javascript/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ angular.module('<%= scriptAppName %>', [<%= angularModules %>])<% if (ngRoute) {
redirectTo: '/'
});
$locationProvider.html5Mode(true);
});<% } %>;
})<% } %>;

0 comments on commit 130426c

Please sign in to comment.