Skip to content

Commit 2cb9e80

Browse files
committed
Trim trailing whitespace and add EOF
1 parent e73ff7b commit 2cb9e80

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+100
-100
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ indent_size = 2
77
end_of_line = lf
88
charset = utf-8
99
trim_trailing_whitespace = true
10-
insert_final_newline = true
10+
insert_final_newline = true

cli/bin/help.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
<%= 'update'.yellow %> <%= 'Update a package to the latest version'.grey %>
1313
<%= 'list'.yellow %> <%= 'List the packages currently installed'.grey %>
1414
<%= 'search'.yellow %> <%= 'Query the registry for matching package names'.grey %>
15-
<%= 'lookup'.yellow %> <%= 'Look up info on a particular package'.grey %>
15+
<%= 'lookup'.yellow %> <%= 'Look up info on a particular package'.grey %>

cli/lib/generators/angular/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ Currently as this doesn't follow the same model/view/controller structure
44
as we expect, it should be used via yeoman g angular:bootstrap until we've
55
figured out how better to hook everything up.
66

7-
Based on https://github.com/angular/angular-seed/
7+
Based on https://github.com/angular/angular-seed/

cli/lib/generators/angular/templates/app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
//= require_tree ./templates
66
//= require_self
77

8-
// The angular application is created elsewhere (application.js)
8+
// The angular application is created elsewhere (application.js)
99
// where this file is required through the pipeline
1010

1111
'use strict';
@@ -16,4 +16,4 @@ angular.module(<%= grunt.util._.camelize(appname) %>, ['<%= grunt.util._.cameliz
1616
$routeProvider.when('/view1', {templateUrl: 'partials/partial1.html', controller: MyCtrl1});
1717
$routeProvider.when('/view2', {templateUrl: 'partials/partial2.html', controller: MyCtrl2});
1818
$routeProvider.otherwise({redirectTo: '/view1'});
19-
}]);
19+
}]);

cli/lib/generators/angular/templates/controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ MyCtrl1.$inject = [];
1010

1111
function MyCtrl2() {
1212
}
13-
MyCtrl2.$inject = [];
13+
MyCtrl2.$inject = [];

cli/lib/generators/angular/templates/directives.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ angular.module('<%= _.camelize(appname) %>.directives', []).
77
return function(scope, elm, attrs) {
88
elm.text(version);
99
};
10-
}]);
10+
}]);

cli/lib/generators/angular/templates/filters.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ angular.module('<%= _.camelize(appname) %>.filters', []).
77
return function(text) {
88
return String(text).replace(/\%VERSION\%/mg, version);
99
}
10-
}]);
10+
}]);
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<p>This is the partial for view 1.</p>
1+
<p>This is the partial for view 1.</p>

cli/lib/generators/angular/templates/partials2.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
<p>
33
Showing of 'interpolate' filter:
44
{{ 'Current version is v%VERSION%.' | interpolate }}
5-
</p>
5+
</p>

cli/lib/generators/angular/templates/services.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
// Demonstrate how to register services
77
// In this case it is a simple value service.
88
angular.module('<%= _.camelize(appname) %>.services', []).
9-
value('version', '0.1');
9+
value('version', '0.1');

0 commit comments

Comments
 (0)