Skip to content
This repository has been archived by the owner on Sep 22, 2020. It is now read-only.

Commit

Permalink
Beautify code
Browse files Browse the repository at this point in the history
  • Loading branch information
cadecairos committed Mar 5, 2015
1 parent 667f82c commit 804937e
Show file tree
Hide file tree
Showing 20 changed files with 824 additions and 771 deletions.
6 changes: 3 additions & 3 deletions Gruntfile.js
@@ -1,4 +1,4 @@
module.exports = function( grunt ) {
module.exports = function (grunt) {
var jsbeautifyrc = grunt.file.readJSON("node_modules/mofo-style/linters/.jsbeautifyrc");
var jscsrc = grunt.file.readJSON("node_modules/mofo-style/linters/.jscsrc");
var jshintrc = grunt.file.readJSON("node_modules/mofo-style/linters/.jshintrc");
Expand All @@ -18,7 +18,7 @@ module.exports = function( grunt ) {
];

grunt.initConfig({
pkg: grunt.file.readJSON( "package.json" ),
pkg: grunt.file.readJSON("package.json"),

jshint: {
options: jshintrc,
Expand All @@ -32,7 +32,7 @@ module.exports = function( grunt ) {
src: javaScriptFiles
},
verify: {
src:javaScriptFiles,
src: javaScriptFiles,
options: {
mode: "VERIFY_ONLY"
}
Expand Down
2 changes: 1 addition & 1 deletion app.js
Expand Up @@ -2,4 +2,4 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */

require( "./app/http/server.js" );
require("./app/http/server.js");
4 changes: 2 additions & 2 deletions app/db/index.js
@@ -1,6 +1,6 @@
var Sequelize = require('sequelize');

module.exports = function(env) {
module.exports = function (env) {

var sequelize;
var health = {
Expand All @@ -22,7 +22,7 @@ module.exports = function(env) {
var modelControllers = require('./models')(sequelize);

// Sync
sequelize.sync().complete(function(err) {
sequelize.sync().complete(function (err) {
if (err) {
handlers.dbErrorHandling(err, handlers.forkErrorHandling);
} else {
Expand Down

0 comments on commit 804937e

Please sign in to comment.