From e027f4025b5a7af924f2f6c970ed4dfe42fe0c73 Mon Sep 17 00:00:00 2001 From: Christian Berendt Date: Mon, 16 Feb 2015 21:35:33 +0100 Subject: [PATCH] Add missing newline at the end of text files On Unix it is common to have a newline at the end of text files. --- .slugignore | 2 +- .travis.yml | 2 +- Dockerfile | 2 +- config/assets/development.js | 2 +- config/assets/test.js | 2 +- config/env/production.js | 2 +- config/env/test.js | 2 +- config/lib/socket.io.js | 2 +- fig.yml | 2 +- modules/articles/client/articles.client.module.js | 2 +- .../articles/client/controllers/articles.client.controller.js | 2 +- modules/articles/server/models/article.server.model.js | 2 +- .../articles/tests/client/articles.client.controller.tests.js | 2 +- modules/chat/client/config/chat.client.routes.js | 2 +- modules/chat/tests/client/chat.client.controller.tests.js | 2 +- modules/chat/tests/e2e/chat.e2e.tests.js | 2 +- modules/chat/tests/server/chat.socket.tests.js | 2 +- modules/core/client/config/core.client.routes.js | 2 +- modules/core/client/controllers/home.client.controller.js | 2 +- modules/core/client/core.client.module.js | 2 +- modules/core/server/controllers/errors.server.controller.js | 2 +- modules/core/server/views/404.server.view.html | 2 +- modules/core/server/views/500.server.view.html | 2 +- modules/core/tests/client/header.client.controller.tests.js | 2 +- modules/core/tests/client/home.client.controller.tests.js | 2 +- .../client/controllers/authentication.client.controller.js | 2 +- modules/users/client/controllers/password.client.controller.js | 2 +- modules/users/client/services/users.client.service.js | 2 +- modules/users/server/config/strategies/local.js | 2 +- modules/users/server/controllers/users.server.controller.js | 2 +- .../controllers/users/users.authorization.server.controller.js | 2 +- .../templates/reset-password-confirm-email.server.view.html | 2 +- .../server/templates/reset-password-email.server.view.html | 2 +- .../tests/client/authentication.client.controller.tests.js | 2 +- 34 files changed, 34 insertions(+), 34 deletions(-) diff --git a/.slugignore b/.slugignore index e4e50baab8..4611d35f44 100644 --- a/.slugignore +++ b/.slugignore @@ -1 +1 @@ -/app/tests \ No newline at end of file +/app/tests diff --git a/.travis.yml b/.travis.yml index 0abd7e4bb2..32edf2495e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,4 +4,4 @@ node_js: env: - NODE_ENV=travis services: - - mongodb \ No newline at end of file + - mongodb diff --git a/Dockerfile b/Dockerfile index 96dc98b13a..de61a99205 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,4 +26,4 @@ ENV NODE_ENV development # Port 3000 for server # Port 35729 for livereload EXPOSE 3000 35729 -CMD ["grunt"] \ No newline at end of file +CMD ["grunt"] diff --git a/config/assets/development.js b/config/assets/development.js index 47a2c6d20a..b521b6577d 100644 --- a/config/assets/development.js +++ b/config/assets/development.js @@ -2,4 +2,4 @@ module.exports = { // Development assets -}; \ No newline at end of file +}; diff --git a/config/assets/test.js b/config/assets/test.js index ecc4cac91d..29ffa89c9e 100644 --- a/config/assets/test.js +++ b/config/assets/test.js @@ -6,4 +6,4 @@ module.exports = { server: ['modules/*/tests/server/**/*.js'], e2e: ['modules/*/tests/e2e/**/*.js'] } -}; \ No newline at end of file +}; diff --git a/config/env/production.js b/config/env/production.js index 3e87554779..01cc6beb87 100644 --- a/config/env/production.js +++ b/config/env/production.js @@ -37,4 +37,4 @@ module.exports = { } } } -}; \ No newline at end of file +}; diff --git a/config/env/test.js b/config/env/test.js index 6f95fdd3f5..dd0c6184cb 100644 --- a/config/env/test.js +++ b/config/env/test.js @@ -41,4 +41,4 @@ module.exports = { } } } -}; \ No newline at end of file +}; diff --git a/config/lib/socket.io.js b/config/lib/socket.io.js index 4e89bdee4b..cddbb34f22 100644 --- a/config/lib/socket.io.js +++ b/config/lib/socket.io.js @@ -58,4 +58,4 @@ module.exports = function(app, db) { }); return server; -}; \ No newline at end of file +}; diff --git a/fig.yml b/fig.yml index 4726a15100..967ac7d1d1 100644 --- a/fig.yml +++ b/fig.yml @@ -9,4 +9,4 @@ web: db: image: mongo ports: - - "27017:27017" \ No newline at end of file + - "27017:27017" diff --git a/modules/articles/client/articles.client.module.js b/modules/articles/client/articles.client.module.js index 7435fc78a8..3c94d0cb57 100644 --- a/modules/articles/client/articles.client.module.js +++ b/modules/articles/client/articles.client.module.js @@ -1,4 +1,4 @@ 'use strict'; // Use Applicaion configuration module to register a new module -ApplicationConfiguration.registerModule('articles'); \ No newline at end of file +ApplicationConfiguration.registerModule('articles'); diff --git a/modules/articles/client/controllers/articles.client.controller.js b/modules/articles/client/controllers/articles.client.controller.js index 364987eb9e..2ea4e2a856 100644 --- a/modules/articles/client/controllers/articles.client.controller.js +++ b/modules/articles/client/controllers/articles.client.controller.js @@ -55,4 +55,4 @@ angular.module('articles').controller('ArticlesController', ['$scope', '$statePa }); }; } -]); \ No newline at end of file +]); diff --git a/modules/articles/server/models/article.server.model.js b/modules/articles/server/models/article.server.model.js index 3f6fd0df1f..f2b89db815 100644 --- a/modules/articles/server/models/article.server.model.js +++ b/modules/articles/server/models/article.server.model.js @@ -31,4 +31,4 @@ var ArticleSchema = new Schema({ } }); -mongoose.model('Article', ArticleSchema); \ No newline at end of file +mongoose.model('Article', ArticleSchema); diff --git a/modules/articles/tests/client/articles.client.controller.tests.js b/modules/articles/tests/client/articles.client.controller.tests.js index 859a967e47..326a9b45c8 100644 --- a/modules/articles/tests/client/articles.client.controller.tests.js +++ b/modules/articles/tests/client/articles.client.controller.tests.js @@ -167,4 +167,4 @@ expect(scope.articles.length).toBe(0); })); }); -}()); \ No newline at end of file +}()); diff --git a/modules/chat/client/config/chat.client.routes.js b/modules/chat/client/config/chat.client.routes.js index a86defc19d..c688ac096f 100644 --- a/modules/chat/client/config/chat.client.routes.js +++ b/modules/chat/client/config/chat.client.routes.js @@ -9,4 +9,4 @@ angular.module('chat').config(['$stateProvider', templateUrl: 'modules/chat/views/chat.client.view.html' }); } -]); \ No newline at end of file +]); diff --git a/modules/chat/tests/client/chat.client.controller.tests.js b/modules/chat/tests/client/chat.client.controller.tests.js index e842322891..8a31f1930f 100644 --- a/modules/chat/tests/client/chat.client.controller.tests.js +++ b/modules/chat/tests/client/chat.client.controller.tests.js @@ -7,4 +7,4 @@ describe('ChatController', function() { // TODO: Add chat client controller tests }); -}()); \ No newline at end of file +}()); diff --git a/modules/chat/tests/e2e/chat.e2e.tests.js b/modules/chat/tests/e2e/chat.e2e.tests.js index 06f5fc6226..d3fd973c29 100644 --- a/modules/chat/tests/e2e/chat.e2e.tests.js +++ b/modules/chat/tests/e2e/chat.e2e.tests.js @@ -5,4 +5,4 @@ */ describe('Chat E2E Tests:', function() { // TODO: Add chat e2e tests -}); \ No newline at end of file +}); diff --git a/modules/chat/tests/server/chat.socket.tests.js b/modules/chat/tests/server/chat.socket.tests.js index 8a82c74ea2..f900e2f626 100644 --- a/modules/chat/tests/server/chat.socket.tests.js +++ b/modules/chat/tests/server/chat.socket.tests.js @@ -5,4 +5,4 @@ */ describe('Chat Socket Tests:', function() { // TODO: Add chat socket tests -}); \ No newline at end of file +}); diff --git a/modules/core/client/config/core.client.routes.js b/modules/core/client/config/core.client.routes.js index 894e3a6caf..7328d0d213 100644 --- a/modules/core/client/config/core.client.routes.js +++ b/modules/core/client/config/core.client.routes.js @@ -13,4 +13,4 @@ angular.module('core').config(['$stateProvider', '$urlRouterProvider', templateUrl: 'modules/core/views/home.client.view.html' }); } -]); \ No newline at end of file +]); diff --git a/modules/core/client/controllers/home.client.controller.js b/modules/core/client/controllers/home.client.controller.js index 086632edd3..ea80b59e60 100644 --- a/modules/core/client/controllers/home.client.controller.js +++ b/modules/core/client/controllers/home.client.controller.js @@ -5,4 +5,4 @@ angular.module('core').controller('HomeController', ['$scope', 'Authentication', // This provides Authentication context. $scope.authentication = Authentication; } -]); \ No newline at end of file +]); diff --git a/modules/core/client/core.client.module.js b/modules/core/client/core.client.module.js index 0edda0458d..b2658634cb 100644 --- a/modules/core/client/core.client.module.js +++ b/modules/core/client/core.client.module.js @@ -1,4 +1,4 @@ 'use strict'; // Use Applicaion configuration module to register a new module -ApplicationConfiguration.registerModule('core'); \ No newline at end of file +ApplicationConfiguration.registerModule('core'); diff --git a/modules/core/server/controllers/errors.server.controller.js b/modules/core/server/controllers/errors.server.controller.js index e4604f8c9c..db81a8ec86 100644 --- a/modules/core/server/controllers/errors.server.controller.js +++ b/modules/core/server/controllers/errors.server.controller.js @@ -39,4 +39,4 @@ exports.getErrorMessage = function(err) { } return message; -}; \ No newline at end of file +}; diff --git a/modules/core/server/views/404.server.view.html b/modules/core/server/views/404.server.view.html index 0074fa456d..404076174c 100644 --- a/modules/core/server/views/404.server.view.html +++ b/modules/core/server/views/404.server.view.html @@ -5,4 +5,4 @@

Page Not Found

 	{{url}} is not a valid path.
 
-{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/modules/core/server/views/500.server.view.html b/modules/core/server/views/500.server.view.html index 8e6711b72a..cc3b14785c 100644 --- a/modules/core/server/views/500.server.view.html +++ b/modules/core/server/views/500.server.view.html @@ -5,4 +5,4 @@

Server Error

 	{{error}}
 
-{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/modules/core/tests/client/header.client.controller.tests.js b/modules/core/tests/client/header.client.controller.tests.js index 76ee4fb4e7..b45cc26b37 100644 --- a/modules/core/tests/client/header.client.controller.tests.js +++ b/modules/core/tests/client/header.client.controller.tests.js @@ -21,4 +21,4 @@ expect(scope.authentication).toBeTruthy(); }); }); -})(); \ No newline at end of file +})(); diff --git a/modules/core/tests/client/home.client.controller.tests.js b/modules/core/tests/client/home.client.controller.tests.js index a5b1a566d5..b83b12d736 100644 --- a/modules/core/tests/client/home.client.controller.tests.js +++ b/modules/core/tests/client/home.client.controller.tests.js @@ -21,4 +21,4 @@ expect(scope.authentication).toBeTruthy(); }); }); -})(); \ No newline at end of file +})(); diff --git a/modules/users/client/controllers/authentication.client.controller.js b/modules/users/client/controllers/authentication.client.controller.js index dbc1cc0ea2..a1b349f4f1 100644 --- a/modules/users/client/controllers/authentication.client.controller.js +++ b/modules/users/client/controllers/authentication.client.controller.js @@ -31,4 +31,4 @@ angular.module('users').controller('AuthenticationController', ['$scope', '$http }); }; } -]); \ No newline at end of file +]); diff --git a/modules/users/client/controllers/password.client.controller.js b/modules/users/client/controllers/password.client.controller.js index f5bc915c82..6c95125750 100644 --- a/modules/users/client/controllers/password.client.controller.js +++ b/modules/users/client/controllers/password.client.controller.js @@ -41,4 +41,4 @@ angular.module('users').controller('PasswordController', ['$scope', '$stateParam }); }; } -]); \ No newline at end of file +]); diff --git a/modules/users/client/services/users.client.service.js b/modules/users/client/services/users.client.service.js index eaa6909afe..f8a68eeac2 100644 --- a/modules/users/client/services/users.client.service.js +++ b/modules/users/client/services/users.client.service.js @@ -9,4 +9,4 @@ angular.module('users').factory('Users', ['$resource', } }); } -]); \ No newline at end of file +]); diff --git a/modules/users/server/config/strategies/local.js b/modules/users/server/config/strategies/local.js index 5471473df2..89e655e805 100644 --- a/modules/users/server/config/strategies/local.js +++ b/modules/users/server/config/strategies/local.js @@ -35,4 +35,4 @@ module.exports = function() { }); } )); -}; \ No newline at end of file +}; diff --git a/modules/users/server/controllers/users.server.controller.js b/modules/users/server/controllers/users.server.controller.js index 64e772e9a7..06ef00ea31 100644 --- a/modules/users/server/controllers/users.server.controller.js +++ b/modules/users/server/controllers/users.server.controller.js @@ -13,4 +13,4 @@ module.exports = _.extend( require('./users/users.authorization.server.controller'), require('./users/users.password.server.controller'), require('./users/users.profile.server.controller') -); \ No newline at end of file +); diff --git a/modules/users/server/controllers/users/users.authorization.server.controller.js b/modules/users/server/controllers/users/users.authorization.server.controller.js index efa3b69524..f0d1b9ca5e 100644 --- a/modules/users/server/controllers/users/users.authorization.server.controller.js +++ b/modules/users/server/controllers/users/users.authorization.server.controller.js @@ -51,4 +51,4 @@ exports.hasAuthorization = function(roles) { } }); }; -}; \ No newline at end of file +}; diff --git a/modules/users/server/templates/reset-password-confirm-email.server.view.html b/modules/users/server/templates/reset-password-confirm-email.server.view.html index eec61a672c..baeddbf957 100644 --- a/modules/users/server/templates/reset-password-confirm-email.server.view.html +++ b/modules/users/server/templates/reset-password-confirm-email.server.view.html @@ -13,4 +13,4 @@

The {{appName}} Support Team

- \ No newline at end of file + diff --git a/modules/users/server/templates/reset-password-email.server.view.html b/modules/users/server/templates/reset-password-email.server.view.html index eb73cb83e3..e5934a95af 100644 --- a/modules/users/server/templates/reset-password-email.server.view.html +++ b/modules/users/server/templates/reset-password-email.server.view.html @@ -19,4 +19,4 @@

The {{appName}} Support Team

- \ No newline at end of file + diff --git a/modules/users/tests/client/authentication.client.controller.tests.js b/modules/users/tests/client/authentication.client.controller.tests.js index 5f2d662624..348ec474c6 100644 --- a/modules/users/tests/client/authentication.client.controller.tests.js +++ b/modules/users/tests/client/authentication.client.controller.tests.js @@ -115,4 +115,4 @@ expect(scope.error).toBe('Username already exists'); }); }); -}()); \ No newline at end of file +}());