diff --git a/.slugignore b/.slugignore index e4e50baa..4611d35f 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 0abd7e4b..32edf249 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 96dc98b1..de61a992 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 47a2c6d2..b521b657 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 ecc4cac9..29ffa89c 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 3e875547..01cc6beb 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 6f95fdd3..dd0c6184 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 4e89bdee..cddbb34f 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 4726a151..967ac7d1 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 7435fc78..3c94d0cb 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 364987eb..2ea4e2a8 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 3f6fd0df..f2b89db8 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 859a967e..326a9b45 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 a86defc1..c688ac09 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 e8423228..8a31f193 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 06f5fc62..d3fd973c 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 8a82c74e..f900e2f6 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 894e3a6c..7328d0d2 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 086632ed..ea80b59e 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 0edda045..b2658634 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 e4604f8c..db81a8ec 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 0074fa45..40407617 100644 --- a/modules/core/server/views/404.server.view.html +++ b/modules/core/server/views/404.server.view.html @@ -5,4 +5,4 @@
{{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 8e6711b7..cc3b1478 100644
--- a/modules/core/server/views/500.server.view.html
+++ b/modules/core/server/views/500.server.view.html
@@ -5,4 +5,4 @@
{{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 76ee4fb4..b45cc26b 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 a5b1a566..b83b12d7 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 dbc1cc0e..a1b349f4 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 f5bc915c..6c951257 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 eaa6909a..f8a68eea 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 5471473d..89e655e8 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 64e772e9..06ef00ea 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 efa3b695..f0d1b9ca 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 eec61a67..baeddbf9 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