Skip to content

Commit 8511260

Browse files
committed
fix(app): ensure all files end with a newline
1 parent c30fa85 commit 8511260

35 files changed

+35
-35
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -549,4 +549,4 @@ Closes #18, #17
549549

550550
#### Features
551551

552-
* **gen:** include MongoDB as an option When selected, sets up database with Mongoose. Repl ([280cc84d](http://github.com/DaftMonk/generator-angular-fullstack/commit/280cc84d735c60b1c261540dceda34dd7f91c93c), closes [#2](http://github.com/DaftMonk/generator-angular-fullstack/issues/2))
552+
* **gen:** include MongoDB as an option When selected, sets up database with Mongoose. Repl ([280cc84d](http://github.com/DaftMonk/generator-angular-fullstack/commit/280cc84d735c60b1c261540dceda34dd7f91c93c), closes [#2](http://github.com/DaftMonk/generator-angular-fullstack/issues/2))

app/templates/.buildignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
*.coffee
1+
*.coffee

app/templates/.gitattributes

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* text=auto
1+
* text=auto

app/templates/.jscs.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@
4141
},
4242
"validateLineBreaks": "LF",
4343
"validateParameterSeparator": ", "
44-
}
44+
}

app/templates/.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ before_script:
66
- npm install -g bower grunt-cli<% if (filters.sass) { %>
77
- gem install sass<% } %>
88
- bower install
9-
services: mongodb
9+
services: mongodb

app/templates/client/app/account(auth)/settings/settings(html).html

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ <h1>Change Password</h1>
3636
</form>
3737
</div>
3838
</div>
39-
</div>
39+
</div>

app/templates/client/app/admin(auth)/admin(coffee).coffee

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ angular.module '<%= scriptAppName %>'
1212
url: '/admin'
1313
templateUrl: 'app/admin/admin.html'
1414
controller: 'AdminCtrl'
15-
<% } %>
15+
<% } %>

app/templates/client/app/admin(auth)/admin(html).html

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
<a ng-click="delete(user)" class="trash"><span class="glyphicon glyphicon-trash pull-right"></span></a>
1010
</li>
1111
</ul>
12-
</div>
12+
</div>
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
.trash { color:rgb(209, 91, 71); }
1+
.trash { color:rgb(209, 91, 71); }
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
.trash
2-
color rgb(209, 91, 71)
2+
color rgb(209, 91, 71)

app/templates/client/app/main/main(coffee).coffee

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ angular.module '<%= scriptAppName %>'
1212
url: '/'
1313
templateUrl: 'app/main/main.html'
1414
controller: 'MainCtrl'
15-
<% } %>
15+
<% } %>

app/templates/client/components/modal(uibootstrap)/modal(css).css

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@
2020
}
2121
.modal-danger .modal-header {
2222
background: #d9534f;
23-
}
23+
}

app/templates/client/components/modal(uibootstrap)/modal(html).html

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ <h4 ng-if="modal.title" ng-bind="modal.title" class="modal-title"></h4>
88
</div>
99
<div class="modal-footer">
1010
<button ng-repeat="button in modal.buttons" ng-class="button.classes" ng-click="button.click($event)" ng-bind="button.text" class="btn"></button>
11-
</div>
11+
</div>

app/templates/client/components/mongoose-error(auth)/mongoose-error.directive(coffee).coffee

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ angular.module '<%= scriptAppName %>'
99
require: 'ngModel'
1010
link: (scope, element, attrs, ngModel) ->
1111
element.on 'keydown', ->
12-
ngModel.$setValidity 'mongoose', true
12+
ngModel.$setValidity 'mongoose', true

app/templates/client/components/mongoose-error(auth)/mongoose-error.directive(js).js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ angular.module('<%= scriptAppName %>')
1414
});
1515
}
1616
};
17-
});
17+
});

app/templates/client/components/navbar/navbar(jade).jade

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ div.navbar.navbar-default.navbar-static-top(ng-controller='NavbarCtrl')
3131
span.glyphicon.glyphicon-cog
3232

3333
li(ng-show='isLoggedIn()')
34-
a(<% if (filters.uirouter) { %>ui-sref='logout'<% } else { %>href='/logout'<% } %>) Logout<% } %>
34+
a(<% if (filters.uirouter) { %>ui-sref='logout'<% } else { %>href='/logout'<% } %>) Logout<% } %>

app/templates/client/components/navbar/navbar.controller(coffee).coffee

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ angular.module '<%= scriptAppName %>'
1212
$scope.getCurrentUser = Auth.getCurrentUser<% } %><% if(!filters.uirouter) { %>
1313

1414
$scope.isActive = (route) ->
15-
route is $location.path()<% } %>
15+
route is $location.path()<% } %>

app/templates/client/components/socket(socketio)/socket.mock(js).js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ angular.module('socketMock', [])
1313
syncUpdates: function() {},
1414
unsyncUpdates: function() {}
1515
};
16-
});
16+
});

controller/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ var Generator = yeoman.generators.Base.extend({
77
}
88
});
99

10-
module.exports = Generator;
10+
module.exports = Generator;

decorator/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ var Generator = yeoman.generators.Base.extend({
77
}
88
});
99

10-
module.exports = Generator;
10+
module.exports = Generator;

directive/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ var Generator = yeoman.generators.Base.extend({
77
}
88
});
99

10-
module.exports = Generator;
10+
module.exports = Generator;

factory/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ var Generator = yeoman.generators.Base.extend({
77
}
88
});
99

10-
module.exports = Generator;
10+
module.exports = Generator;

filter/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ var Generator = yeoman.generators.Base.extend({
77
}
88
});
99

10-
module.exports = Generator;
10+
module.exports = Generator;

generators/constant/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ util.inherits(Generator, yeoman.generators.Base);
1111

1212
Generator.prototype.deprecated = function deprecated() {
1313
this.log(chalk.yellow('This sub-generator is deprecated. \n'));
14-
};
14+
};

generators/deploy/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ util.inherits(Generator, yeoman.generators.NamedBase);
1212
Generator.prototype.deprecated = function deprecated() {
1313
this.log(chalk.yellow(chalk.bold('yo angular-fullstack:deploy') + ' is deprecated, instead use: \n') +
1414
chalk.green('yo angular-fullstack:heroku') + ' or ' + chalk.green('yo angular-fullstack:openshift'));
15-
};
15+
};

generators/readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
This folder is for deprecated generators only.
1+
This folder is for deprecated generators only.

generators/value/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ util.inherits(Generator, yeoman.generators.Base);
1111

1212
Generator.prototype.deprecated = function deprecated() {
1313
this.log(chalk.yellow('This sub-generator is deprecated. \n'));
14-
};
14+
};

generators/view/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ util.inherits(Generator, yeoman.generators.Base);
1111

1212
Generator.prototype.deprecated = function deprecated() {
1313
this.log(chalk.yellow('This sub-generator is deprecated. \n'));
14-
};
14+
};

openshift/USAGE

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ Example:
55
yo angular-fullstack:openshift
66

77
This will create:
8-
a dist folder and initialize an openshift app
8+
a dist folder and initialize an openshift app

provider/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ var Generator = yeoman.generators.Base.extend({
77
}
88
});
99

10-
module.exports = Generator;
10+
module.exports = Generator;

route/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ var Generator = yeoman.generators.Base.extend({
77
}
88
});
99

10-
module.exports = Generator;
10+
module.exports = Generator;

scripts/sauce_connect_setup.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,4 @@ done
5757

5858
unset SAUCE_CONNECT_PLATFORM SAUCE_TMP_DIR SC_DIR SC_DISTRIBUTION SC_READYFILE SC_LOGFILE SC_TUNNEL_ID
5959

60-
popd
60+
popd

service/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ var Generator = yeoman.generators.Base.extend({
77
}
88
});
99

10-
module.exports = Generator;
10+
module.exports = Generator;

test/fixtures/.yo-rc.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
"googleAuth": true
1818
}
1919
}
20-
}
20+
}

util.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,4 +137,4 @@ function processDirectory (self, source, destination) {
137137
}
138138
}
139139
});
140-
}
140+
}

0 commit comments

Comments
 (0)