Skip to content

Commit

Permalink
fix(app): ensure all files end with a newline
Browse files Browse the repository at this point in the history
  • Loading branch information
kingcody committed Jul 28, 2015
1 parent c30fa85 commit 8511260
Show file tree
Hide file tree
Showing 35 changed files with 35 additions and 35 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -549,4 +549,4 @@ Closes #18, #17

#### Features

* **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))
* **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))
2 changes: 1 addition & 1 deletion app/templates/.buildignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
*.coffee
*.coffee
2 changes: 1 addition & 1 deletion app/templates/.gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* text=auto
* text=auto
2 changes: 1 addition & 1 deletion app/templates/.jscs.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@
},
"validateLineBreaks": "LF",
"validateParameterSeparator": ", "
}
}
2 changes: 1 addition & 1 deletion app/templates/.travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ before_script:
- npm install -g bower grunt-cli<% if (filters.sass) { %>
- gem install sass<% } %>
- bower install
services: mongodb
services: mongodb
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ <h1>Change Password</h1>
</form>
</div>
</div>
</div>
</div>
2 changes: 1 addition & 1 deletion app/templates/client/app/admin(auth)/admin(coffee).coffee
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ angular.module '<%= scriptAppName %>'
url: '/admin'
templateUrl: 'app/admin/admin.html'
controller: 'AdminCtrl'
<% } %>
<% } %>
2 changes: 1 addition & 1 deletion app/templates/client/app/admin(auth)/admin(html).html
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
<a ng-click="delete(user)" class="trash"><span class="glyphicon glyphicon-trash pull-right"></span></a>
</li>
</ul>
</div>
</div>
2 changes: 1 addition & 1 deletion app/templates/client/app/admin(auth)/admin(less).less
Original file line number Diff line number Diff line change
@@ -1 +1 @@
.trash { color:rgb(209, 91, 71); }
.trash { color:rgb(209, 91, 71); }
2 changes: 1 addition & 1 deletion app/templates/client/app/admin(auth)/admin(stylus).styl
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
.trash
color rgb(209, 91, 71)
color rgb(209, 91, 71)
2 changes: 1 addition & 1 deletion app/templates/client/app/main/main(coffee).coffee
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ angular.module '<%= scriptAppName %>'
url: '/'
templateUrl: 'app/main/main.html'
controller: 'MainCtrl'
<% } %>
<% } %>
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@
}
.modal-danger .modal-header {
background: #d9534f;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ <h4 ng-if="modal.title" ng-bind="modal.title" class="modal-title"></h4>
</div>
<div class="modal-footer">
<button ng-repeat="button in modal.buttons" ng-class="button.classes" ng-click="button.click($event)" ng-bind="button.text" class="btn"></button>
</div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ angular.module '<%= scriptAppName %>'
require: 'ngModel'
link: (scope, element, attrs, ngModel) ->
element.on 'keydown', ->
ngModel.$setValidity 'mongoose', true
ngModel.$setValidity 'mongoose', true
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ angular.module('<%= scriptAppName %>')
});
}
};
});
});
2 changes: 1 addition & 1 deletion app/templates/client/components/navbar/navbar(jade).jade
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ div.navbar.navbar-default.navbar-static-top(ng-controller='NavbarCtrl')
span.glyphicon.glyphicon-cog

li(ng-show='isLoggedIn()')
a(<% if (filters.uirouter) { %>ui-sref='logout'<% } else { %>href='/logout'<% } %>) Logout<% } %>
a(<% if (filters.uirouter) { %>ui-sref='logout'<% } else { %>href='/logout'<% } %>) Logout<% } %>
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ angular.module '<%= scriptAppName %>'
$scope.getCurrentUser = Auth.getCurrentUser<% } %><% if(!filters.uirouter) { %>

$scope.isActive = (route) ->
route is $location.path()<% } %>
route is $location.path()<% } %>
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ angular.module('socketMock', [])
syncUpdates: function() {},
unsyncUpdates: function() {}
};
});
});
2 changes: 1 addition & 1 deletion controller/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ var Generator = yeoman.generators.Base.extend({
}
});

module.exports = Generator;
module.exports = Generator;
2 changes: 1 addition & 1 deletion decorator/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ var Generator = yeoman.generators.Base.extend({
}
});

module.exports = Generator;
module.exports = Generator;
2 changes: 1 addition & 1 deletion directive/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ var Generator = yeoman.generators.Base.extend({
}
});

module.exports = Generator;
module.exports = Generator;
2 changes: 1 addition & 1 deletion factory/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ var Generator = yeoman.generators.Base.extend({
}
});

module.exports = Generator;
module.exports = Generator;
2 changes: 1 addition & 1 deletion filter/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ var Generator = yeoman.generators.Base.extend({
}
});

module.exports = Generator;
module.exports = Generator;
2 changes: 1 addition & 1 deletion generators/constant/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ util.inherits(Generator, yeoman.generators.Base);

Generator.prototype.deprecated = function deprecated() {
this.log(chalk.yellow('This sub-generator is deprecated. \n'));
};
};
2 changes: 1 addition & 1 deletion generators/deploy/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ util.inherits(Generator, yeoman.generators.NamedBase);
Generator.prototype.deprecated = function deprecated() {
this.log(chalk.yellow(chalk.bold('yo angular-fullstack:deploy') + ' is deprecated, instead use: \n') +
chalk.green('yo angular-fullstack:heroku') + ' or ' + chalk.green('yo angular-fullstack:openshift'));
};
};
2 changes: 1 addition & 1 deletion generators/readme.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
This folder is for deprecated generators only.
This folder is for deprecated generators only.
2 changes: 1 addition & 1 deletion generators/value/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ util.inherits(Generator, yeoman.generators.Base);

Generator.prototype.deprecated = function deprecated() {
this.log(chalk.yellow('This sub-generator is deprecated. \n'));
};
};
2 changes: 1 addition & 1 deletion generators/view/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ util.inherits(Generator, yeoman.generators.Base);

Generator.prototype.deprecated = function deprecated() {
this.log(chalk.yellow('This sub-generator is deprecated. \n'));
};
};
2 changes: 1 addition & 1 deletion openshift/USAGE
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ Example:
yo angular-fullstack:openshift

This will create:
a dist folder and initialize an openshift app
a dist folder and initialize an openshift app
2 changes: 1 addition & 1 deletion provider/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ var Generator = yeoman.generators.Base.extend({
}
});

module.exports = Generator;
module.exports = Generator;
2 changes: 1 addition & 1 deletion route/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ var Generator = yeoman.generators.Base.extend({
}
});

module.exports = Generator;
module.exports = Generator;
2 changes: 1 addition & 1 deletion scripts/sauce_connect_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ done

unset SAUCE_CONNECT_PLATFORM SAUCE_TMP_DIR SC_DIR SC_DISTRIBUTION SC_READYFILE SC_LOGFILE SC_TUNNEL_ID

popd
popd
2 changes: 1 addition & 1 deletion service/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ var Generator = yeoman.generators.Base.extend({
}
});

module.exports = Generator;
module.exports = Generator;
2 changes: 1 addition & 1 deletion test/fixtures/.yo-rc.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
"googleAuth": true
}
}
}
}
2 changes: 1 addition & 1 deletion util.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,4 +137,4 @@ function processDirectory (self, source, destination) {
}
}
});
}
}

0 comments on commit 8511260

Please sign in to comment.