Skip to content

Commit

Permalink
Gruntfile fix: module angular-widgets depends on module templates
Browse files Browse the repository at this point in the history
  • Loading branch information
pchorus committed Oct 5, 2014
1 parent 4c2a1df commit 30afc2d
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 9 deletions.
8 changes: 4 additions & 4 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ module.exports = function (grunt) {
},
options: {
replacements: [{
pattern: 'angular.module("angular-widgets",[])',
replacement: 'angular.module("angular-widgets",["templates-dist"])'
pattern: 'angular.module("angular-widgets",["ngResource"])',
replacement: 'angular.module("angular-widgets",["templates-dist", "ngResource"])'
}]
}
},
Expand All @@ -134,8 +134,8 @@ module.exports = function (grunt) {
},
options: {
replacements: [{
pattern: 'angular.module("angular-widgets", [])',
replacement: 'angular.module("angular-widgets",["templates-src"])'
pattern: 'angular.module("angular-widgets", ["ngResource"])',
replacement: 'angular.module("angular-widgets",["ngResource", "templates-src"])'
}]
}
}
Expand Down
2 changes: 1 addition & 1 deletion angular-widgets.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion angular-widgets.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion angular-widgets.src.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ search-input ul li p {
margin: 0px;
}
search-input ul li:hover {
background-color: #808080;
background-color: #d3d3d3;
}
spinner {
display: block;
Expand Down
2 changes: 1 addition & 1 deletion app/app.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/*global angular */
angular.module('angular-widgets', ['ngResource']);
angular.module('angular-widgets', ["ngResource"]);
2 changes: 1 addition & 1 deletion app/styles/variables.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@default-text-color: #3D3D3D;
@default-font-size: 14px;
@default-hover-color: gray;
@default-hover-color: lightgray;
@default-border-color: rgba(0, 0, 0, 0.1);
2 changes: 2 additions & 0 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
},
"ignore": [
"app",
".gitignore",
".travis.yml",
"bower.json",
"Gruntfile.js",
"karma.conf.js",
Expand Down

0 comments on commit 30afc2d

Please sign in to comment.