Add missing new lines at end of files.

This commit is contained in:
Micheil Smith
2014-04-10 20:31:57 +01:00
parent 66d1f2505f
commit 3e82cab398
103 changed files with 102 additions and 103 deletions

View File

@@ -83,4 +83,4 @@ if (nconf.get('d')) {
});
} else {
start();
}
}

View File

@@ -55,4 +55,4 @@ process.on('message', function(payload) {
Minifier.js.concatenate(payload.scripts, executeCallback);
break;
}
})
})

View File

@@ -264,4 +264,4 @@ define(['forum/accountheader', 'uploader'], function(header, uploader) {
}
return AccountEdit;
});
});

View File

@@ -38,4 +38,4 @@ define(function() {
}
return AccountHeader;
});
});

View File

@@ -54,4 +54,4 @@ define(['forum/accountheader'], function(header) {
}
return AccountPosts;
});
});

View File

@@ -50,4 +50,4 @@ define(['forum/accountheader'], function(header) {
}
return AccountTopics;
});
});

View File

@@ -5,4 +5,4 @@ define(['forum/admin/settings'], function(Settings) {
$(function() {
Settings.prepare();
});
});
});

View File

@@ -31,4 +31,4 @@ define(function() {
};
return Plugins;
});
});

View File

@@ -145,4 +145,4 @@ define(['uploader', 'sounds'], function(uploader, sounds) {
}
return Settings;
});
});

View File

@@ -28,4 +28,4 @@ define(['sounds', 'settings'], function(Sounds, Settings) {
};
return SoundsAdmin;
});
});

View File

@@ -318,4 +318,4 @@ define(['forum/admin/settings'], function(Settings) {
};
return Themes;
});
});

View File

@@ -288,4 +288,4 @@ define(function() {
};
return Users;
});
});

View File

@@ -50,4 +50,4 @@ define(['forum/accountheader'], function(header) {
}
return Favourites;
});
});

View File

@@ -17,4 +17,4 @@ define(['forum/accountheader'], function(header) {
};
return Followers;
});
});

View File

@@ -14,4 +14,4 @@ define(['forum/accountheader'], function(header) {
};
return Following;
});
});

View File

@@ -23,4 +23,4 @@ define(['notifications', 'chat'], function(Notifications, Chat) {
socket.on('event:unread.updateCount', updateUnreadCount);
socket.emit('user.getUnreadCount', updateUnreadCount);
});
});

View File

@@ -13,4 +13,4 @@ define(function() {
}
return Notifications;
});
});

View File

@@ -105,4 +105,4 @@ define(function() {
}
return pagination;
});
});

View File

@@ -47,4 +47,4 @@ define(['forum/recent'], function(recent) {
};
return Popular;
});
});

View File

@@ -185,4 +185,4 @@ define(function() {
};
return Register;
});
});

View File

@@ -28,4 +28,4 @@ define(function() {
};
return ResetPassword;
});
});

View File

@@ -52,4 +52,4 @@ define(function() {
};
return ResetCode;
});
});

View File

@@ -24,4 +24,4 @@ define(function() {
};
return Search;
});
});

View File

@@ -771,4 +771,4 @@ define(['forum/pagination', 'forum/topic/threadTools', 'forum/topic/postTools',
}
return Topic;
});
});

View File

@@ -112,4 +112,4 @@ define(function() {
}
return Fork;
});
});

View File

@@ -97,4 +97,4 @@ define(function() {
};
return Move;
});
});

View File

@@ -248,4 +248,4 @@ define(['composer', 'share'], function(composer, share) {
}
return PostTools;
});
});

View File

@@ -94,4 +94,4 @@ define(['forum/topic/fork', 'forum/topic/move'], function(fork, move) {
return ThreadTools;
});
});

View File

@@ -163,4 +163,4 @@ define(['forum/recent'], function(recent) {
}
return Unread;
});
});

View File

@@ -169,4 +169,4 @@ define(function() {
};
return Users;
});
});

View File

@@ -36,4 +36,4 @@
module: {
exports: {}
}
} : module);
} : module);

View File

@@ -91,4 +91,4 @@ define(function() {
};
return module;
});
});

View File

@@ -275,4 +275,4 @@ define(['taskbar', 'string', 'sounds'], function(taskbar, S, sounds) {
};
return module;
});
});

View File

@@ -967,4 +967,4 @@ define(['taskbar'], function(taskbar) {
load: composer.load,
minimize: composer.minimize
};
});
});

View File

@@ -101,4 +101,4 @@ define(function() {
}
return navigator;
});
});

View File

@@ -117,4 +117,4 @@ define(['sounds'], function(sound) {
};
return Notifications;
});
});

View File

@@ -65,4 +65,4 @@ define(function() {
};
return Settings;
});
});

View File

@@ -53,4 +53,4 @@ define(function() {
}
return module;
});
});

View File

@@ -103,4 +103,4 @@ define(['buzz'], function(buzz) {
Sounds.init();
return Sounds;
});
});

File diff suppressed because one or more lines are too long

View File

@@ -110,4 +110,4 @@ define(function() {
toggleNew: taskbar.toggleNew,
updateActive: taskbar.updateActive
}
});
});

View File

@@ -100,4 +100,4 @@ define(function() {
};
return module;
});
});

View File

@@ -73,4 +73,4 @@ if ('undefined' !== typeof window) {
e.button === 2 || _clearMenus();
});
}
}

View File

@@ -322,4 +322,4 @@
module: {
exports: {}
}
} : module);
} : module);

View File

@@ -243,4 +243,4 @@
module: {
exports: {}
}
} : module);
} : module);

View File

@@ -274,4 +274,4 @@
module: {
exports: {}
}
} : module);
} : module);

View File

@@ -38,4 +38,4 @@
ajaxify.variables.set($(element).attr('template-variable'), value);
});
};
}(ajaxify || {}));
}(ajaxify || {}));

View File

@@ -79,4 +79,4 @@
checkCallback();
};
}(ajaxify || {}));
}(ajaxify || {}));

View File

@@ -324,4 +324,4 @@ var db = require('./database'),
emitter.on('event:newpost', Categories.onNewPostMade);
}(exports));
}(exports));

View File

@@ -80,4 +80,4 @@ module.exports = function(Categories) {
}
});
};
};
};

View File

@@ -43,4 +43,4 @@ module.exports = function(Categories) {
});
};
};
};

View File

@@ -460,4 +460,4 @@ accountsController.getNotifications = function(req, res, next) {
});
};
module.exports = accountsController;
module.exports = accountsController;

View File

@@ -169,4 +169,4 @@ adminController.sounds.get = function(req, res, next) {
});
};
module.exports = adminController;
module.exports = adminController;

View File

@@ -47,4 +47,4 @@ usersController.getCSV = function(req, res, next) {
});
};
module.exports = usersController;
module.exports = usersController;

View File

@@ -65,4 +65,4 @@ apiController.getConfig = function(req, res, next) {
};
module.exports = apiController;
module.exports = apiController;

View File

@@ -266,4 +266,4 @@ Controllers.outgoing = function(req, res, next) {
}
};
module.exports = Controllers;
module.exports = Controllers;

View File

@@ -181,4 +181,4 @@ topicsController.get = function(req, res, next) {
});
};
module.exports = topicsController;
module.exports = topicsController;

View File

@@ -100,4 +100,4 @@ usersController.getUsersForSearch = function(req, res, next) {
module.exports = usersController;
module.exports = usersController;

View File

@@ -11,4 +11,4 @@ if(!databaseType) {
var db = require('./database/' + databaseType);
module.exports = db;
module.exports = db;

View File

@@ -51,4 +51,4 @@ Emailer.send = function(template, uid, params) {
});
};
module.exports = Emailer;
module.exports = Emailer;

View File

@@ -1,4 +1,4 @@
var events = require('events'),
eventEmitter = new events.EventEmitter();
module.exports = eventEmitter;
module.exports = eventEmitter;

View File

@@ -113,4 +113,4 @@ var fs = require('fs'),
});
};
}(module.exports));
}(module.exports));

View File

@@ -218,4 +218,4 @@ var async = require('async'),
}, callback);
};
}(exports));
}(exports));

View File

@@ -44,4 +44,4 @@ image.convertImageToBase64 = function(path, callback) {
});
};
module.exports = image;
module.exports = image;

View File

@@ -510,4 +510,4 @@ var async = require('async'),
}
};
module.exports = install;
module.exports = install;

View File

@@ -42,4 +42,4 @@ Languages.list = function(callback) {
});
};
module.exports = Languages;
module.exports = Languages;

View File

@@ -147,4 +147,4 @@ var db = require('./database'),
});
};
}(exports));
}(exports));

View File

@@ -89,4 +89,4 @@ middleware.buildHeader = function(req, res, next) {
module.exports = function(webserver) {
app = webserver;
return middleware;
};
};

View File

@@ -218,4 +218,4 @@ module.exports = function(app, data) {
});
return middleware;
};
};

View File

@@ -355,4 +355,4 @@ module.exports = function(webserver) {
middleware.admin = require('./admin')(webserver);
return middleware;
};
};

View File

@@ -214,4 +214,4 @@
uid: uid
});
});
}(exports));
}(exports));

View File

@@ -64,4 +64,4 @@ module.exports = function(app, middleware, controllers) {
// res.send(200);
});
});
};
};

View File

@@ -166,4 +166,4 @@ module.exports = function(app, middleware, controllers){
app.get('/category/:category_id.rss', hasCategoryPrivileges, generateForCategory);
app.get('/recent.rss', generateForRecent);
app.get('/popular.rss', generateForPopular);
};
};

View File

@@ -152,4 +152,4 @@ module.exports = function(app, middleware) {
require('./debug')(app, middleware, controllers);
}
});
};
};

View File

@@ -51,4 +51,4 @@ module.exports = function(app, middleware, controllers) {
res.redirect('/404');
}
});
};
};

View File

@@ -88,4 +88,4 @@ var path = require('path'),
}
};
module.exports = sitemap;
module.exports = sitemap;

View File

@@ -47,4 +47,4 @@ SocketCategories.getTopicCount = function(socket, cid, callback) {
categories.getCategoryField(cid, 'topic_count', callback);
};
module.exports = SocketCategories;
module.exports = SocketCategories;

View File

@@ -319,4 +319,4 @@ function emitOnlineUserCount(callback) {
/* Exporting */
module.exports = Sockets;
module.exports = Sockets;

View File

@@ -102,4 +102,4 @@ SocketMeta.rooms.getAll = function(socket, data, callback) {
/* Exports */
module.exports = SocketMeta;
module.exports = SocketMeta;

View File

@@ -231,4 +231,4 @@ SocketModules.sounds.getMapping = function(socket, data, callback) {
meta.sounds.getMapping(callback);
};
module.exports = SocketModules;
module.exports = SocketModules;

View File

@@ -12,4 +12,4 @@ SocketNotifs.getCount = function(socket, data, callback) {
user.notifications.getUnreadCount(socket.uid, callback);
};
module.exports = SocketNotifs;
module.exports = SocketNotifs;

View File

@@ -318,4 +318,4 @@ SocketPosts.getCategory = function(socket, pid, callback) {
posts.getCidByPid(pid, callback);
};
module.exports = SocketPosts;
module.exports = SocketPosts;

View File

@@ -6,4 +6,4 @@ SocketTools.log = function(socket, data, callback) {
//winston.info("captured console.log:", data)
};
module.exports = SocketTools;
module.exports = SocketTools;

View File

@@ -313,4 +313,4 @@ SocketTopics.getTidIndex = function(socket, tid, callback) {
categories.getTopicIndex(tid, callback);
};
module.exports = SocketTopics;
module.exports = SocketTopics;

View File

@@ -248,4 +248,4 @@ SocketUser.setStatus = function(socket, status, callback) {
/* Exports */
module.exports = SocketUser;
module.exports = SocketUser;

View File

@@ -8,4 +8,4 @@ SocketWidgets.render = function(socket, data, callback) {
widgets.render(socket.uid, data, callback);
};
module.exports = SocketWidgets;
module.exports = SocketWidgets;

View File

@@ -293,4 +293,4 @@ var winston = require('winston'),
});
});
};
}(exports));
}(exports));

View File

@@ -478,4 +478,4 @@ var async = require('async'),
});
});
};
}(exports));
}(exports));

View File

@@ -219,4 +219,4 @@ module.exports = function(Topics) {
], callback);
};
};
};

View File

@@ -99,4 +99,4 @@ module.exports = function(Topics) {
});
});
};
};
};

View File

@@ -223,4 +223,4 @@ module.exports = function(Topics) {
};
};
};

View File

@@ -628,4 +628,4 @@ Upgrade.upgrade = function(callback) {
});
};
module.exports = Upgrade;
module.exports = Upgrade;

View File

@@ -141,4 +141,4 @@ module.exports = function(User) {
});
});
};
};
};

View File

@@ -65,4 +65,4 @@ module.exports = function(User) {
db.isSetMember('following:' + uid, theirid, callback);
};
};
};

View File

@@ -180,4 +180,4 @@ var async = require('async'),
});
};
}(exports));
}(exports));

View File

@@ -253,4 +253,4 @@ module.exports = function(User) {
}
};
};
};

View File

@@ -89,4 +89,4 @@ var async = require('async'),
});
};
}(exports));
}(exports));

View File

@@ -41,4 +41,3 @@ module.exports = function(User) {
});
};
};

View File

@@ -50,4 +50,4 @@ module.exports = function(User) {
notificationSounds: data.notificationSounds
}, callback);
};
};
};

View File

@@ -99,4 +99,4 @@ var async = require('async'),
});
};
}(exports));
}(exports));

Some files were not shown because too many files have changed in this diff Show More