mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-12 04:02:27 +02:00
Add missing new lines at end of files.
This commit is contained in:
@@ -55,4 +55,4 @@ process.on('message', function(payload) {
|
||||
Minifier.js.concatenate(payload.scripts, executeCallback);
|
||||
break;
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
@@ -264,4 +264,4 @@ define(['forum/accountheader', 'uploader'], function(header, uploader) {
|
||||
}
|
||||
|
||||
return AccountEdit;
|
||||
});
|
||||
});
|
||||
|
||||
@@ -38,4 +38,4 @@ define(function() {
|
||||
}
|
||||
|
||||
return AccountHeader;
|
||||
});
|
||||
});
|
||||
|
||||
@@ -54,4 +54,4 @@ define(['forum/accountheader'], function(header) {
|
||||
}
|
||||
|
||||
return AccountPosts;
|
||||
});
|
||||
});
|
||||
|
||||
@@ -50,4 +50,4 @@ define(['forum/accountheader'], function(header) {
|
||||
}
|
||||
|
||||
return AccountTopics;
|
||||
});
|
||||
});
|
||||
|
||||
@@ -5,4 +5,4 @@ define(['forum/admin/settings'], function(Settings) {
|
||||
$(function() {
|
||||
Settings.prepare();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
@@ -31,4 +31,4 @@ define(function() {
|
||||
};
|
||||
|
||||
return Plugins;
|
||||
});
|
||||
});
|
||||
|
||||
@@ -145,4 +145,4 @@ define(['uploader', 'sounds'], function(uploader, sounds) {
|
||||
}
|
||||
|
||||
return Settings;
|
||||
});
|
||||
});
|
||||
|
||||
@@ -28,4 +28,4 @@ define(['sounds', 'settings'], function(Sounds, Settings) {
|
||||
};
|
||||
|
||||
return SoundsAdmin;
|
||||
});
|
||||
});
|
||||
|
||||
@@ -318,4 +318,4 @@ define(['forum/admin/settings'], function(Settings) {
|
||||
};
|
||||
|
||||
return Themes;
|
||||
});
|
||||
});
|
||||
|
||||
@@ -288,4 +288,4 @@ define(function() {
|
||||
};
|
||||
|
||||
return Users;
|
||||
});
|
||||
});
|
||||
|
||||
@@ -50,4 +50,4 @@ define(['forum/accountheader'], function(header) {
|
||||
}
|
||||
|
||||
return Favourites;
|
||||
});
|
||||
});
|
||||
|
||||
@@ -17,4 +17,4 @@ define(['forum/accountheader'], function(header) {
|
||||
};
|
||||
|
||||
return Followers;
|
||||
});
|
||||
});
|
||||
|
||||
@@ -14,4 +14,4 @@ define(['forum/accountheader'], function(header) {
|
||||
};
|
||||
|
||||
return Following;
|
||||
});
|
||||
});
|
||||
|
||||
@@ -23,4 +23,4 @@ define(['notifications', 'chat'], function(Notifications, Chat) {
|
||||
|
||||
socket.on('event:unread.updateCount', updateUnreadCount);
|
||||
socket.emit('user.getUnreadCount', updateUnreadCount);
|
||||
});
|
||||
});
|
||||
|
||||
@@ -13,4 +13,4 @@ define(function() {
|
||||
}
|
||||
|
||||
return Notifications;
|
||||
});
|
||||
});
|
||||
|
||||
@@ -105,4 +105,4 @@ define(function() {
|
||||
}
|
||||
|
||||
return pagination;
|
||||
});
|
||||
});
|
||||
|
||||
@@ -47,4 +47,4 @@ define(['forum/recent'], function(recent) {
|
||||
};
|
||||
|
||||
return Popular;
|
||||
});
|
||||
});
|
||||
|
||||
@@ -185,4 +185,4 @@ define(function() {
|
||||
};
|
||||
|
||||
return Register;
|
||||
});
|
||||
});
|
||||
|
||||
@@ -28,4 +28,4 @@ define(function() {
|
||||
};
|
||||
|
||||
return ResetPassword;
|
||||
});
|
||||
});
|
||||
|
||||
@@ -52,4 +52,4 @@ define(function() {
|
||||
};
|
||||
|
||||
return ResetCode;
|
||||
});
|
||||
});
|
||||
|
||||
@@ -24,4 +24,4 @@ define(function() {
|
||||
};
|
||||
|
||||
return Search;
|
||||
});
|
||||
});
|
||||
|
||||
@@ -771,4 +771,4 @@ define(['forum/pagination', 'forum/topic/threadTools', 'forum/topic/postTools',
|
||||
}
|
||||
|
||||
return Topic;
|
||||
});
|
||||
});
|
||||
|
||||
@@ -112,4 +112,4 @@ define(function() {
|
||||
}
|
||||
|
||||
return Fork;
|
||||
});
|
||||
});
|
||||
|
||||
@@ -97,4 +97,4 @@ define(function() {
|
||||
};
|
||||
|
||||
return Move;
|
||||
});
|
||||
});
|
||||
|
||||
@@ -248,4 +248,4 @@ define(['composer', 'share'], function(composer, share) {
|
||||
}
|
||||
|
||||
return PostTools;
|
||||
});
|
||||
});
|
||||
|
||||
@@ -94,4 +94,4 @@ define(['forum/topic/fork', 'forum/topic/move'], function(fork, move) {
|
||||
|
||||
|
||||
return ThreadTools;
|
||||
});
|
||||
});
|
||||
|
||||
@@ -163,4 +163,4 @@ define(['forum/recent'], function(recent) {
|
||||
}
|
||||
|
||||
return Unread;
|
||||
});
|
||||
});
|
||||
|
||||
@@ -169,4 +169,4 @@ define(function() {
|
||||
};
|
||||
|
||||
return Users;
|
||||
});
|
||||
});
|
||||
|
||||
@@ -36,4 +36,4 @@
|
||||
module: {
|
||||
exports: {}
|
||||
}
|
||||
} : module);
|
||||
} : module);
|
||||
|
||||
@@ -91,4 +91,4 @@ define(function() {
|
||||
};
|
||||
|
||||
return module;
|
||||
});
|
||||
});
|
||||
|
||||
@@ -275,4 +275,4 @@ define(['taskbar', 'string', 'sounds'], function(taskbar, S, sounds) {
|
||||
};
|
||||
|
||||
return module;
|
||||
});
|
||||
});
|
||||
|
||||
@@ -967,4 +967,4 @@ define(['taskbar'], function(taskbar) {
|
||||
load: composer.load,
|
||||
minimize: composer.minimize
|
||||
};
|
||||
});
|
||||
});
|
||||
|
||||
@@ -101,4 +101,4 @@ define(function() {
|
||||
}
|
||||
|
||||
return navigator;
|
||||
});
|
||||
});
|
||||
|
||||
@@ -117,4 +117,4 @@ define(['sounds'], function(sound) {
|
||||
};
|
||||
|
||||
return Notifications;
|
||||
});
|
||||
});
|
||||
|
||||
@@ -65,4 +65,4 @@ define(function() {
|
||||
};
|
||||
|
||||
return Settings;
|
||||
});
|
||||
});
|
||||
|
||||
@@ -53,4 +53,4 @@ define(function() {
|
||||
}
|
||||
|
||||
return module;
|
||||
});
|
||||
});
|
||||
|
||||
@@ -103,4 +103,4 @@ define(['buzz'], function(buzz) {
|
||||
|
||||
Sounds.init();
|
||||
return Sounds;
|
||||
});
|
||||
});
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -110,4 +110,4 @@ define(function() {
|
||||
toggleNew: taskbar.toggleNew,
|
||||
updateActive: taskbar.updateActive
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
@@ -100,4 +100,4 @@ define(function() {
|
||||
};
|
||||
|
||||
return module;
|
||||
});
|
||||
});
|
||||
|
||||
@@ -73,4 +73,4 @@ if ('undefined' !== typeof window) {
|
||||
e.button === 2 || _clearMenus();
|
||||
});
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -322,4 +322,4 @@
|
||||
module: {
|
||||
exports: {}
|
||||
}
|
||||
} : module);
|
||||
} : module);
|
||||
|
||||
@@ -243,4 +243,4 @@
|
||||
module: {
|
||||
exports: {}
|
||||
}
|
||||
} : module);
|
||||
} : module);
|
||||
|
||||
@@ -274,4 +274,4 @@
|
||||
module: {
|
||||
exports: {}
|
||||
}
|
||||
} : module);
|
||||
} : module);
|
||||
|
||||
@@ -38,4 +38,4 @@
|
||||
ajaxify.variables.set($(element).attr('template-variable'), value);
|
||||
});
|
||||
};
|
||||
}(ajaxify || {}));
|
||||
}(ajaxify || {}));
|
||||
|
||||
@@ -79,4 +79,4 @@
|
||||
|
||||
checkCallback();
|
||||
};
|
||||
}(ajaxify || {}));
|
||||
}(ajaxify || {}));
|
||||
|
||||
@@ -324,4 +324,4 @@ var db = require('./database'),
|
||||
|
||||
emitter.on('event:newpost', Categories.onNewPostMade);
|
||||
|
||||
}(exports));
|
||||
}(exports));
|
||||
|
||||
@@ -80,4 +80,4 @@ module.exports = function(Categories) {
|
||||
}
|
||||
});
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -43,4 +43,4 @@ module.exports = function(Categories) {
|
||||
});
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
@@ -460,4 +460,4 @@ accountsController.getNotifications = function(req, res, next) {
|
||||
});
|
||||
};
|
||||
|
||||
module.exports = accountsController;
|
||||
module.exports = accountsController;
|
||||
|
||||
@@ -169,4 +169,4 @@ adminController.sounds.get = function(req, res, next) {
|
||||
});
|
||||
};
|
||||
|
||||
module.exports = adminController;
|
||||
module.exports = adminController;
|
||||
|
||||
@@ -47,4 +47,4 @@ usersController.getCSV = function(req, res, next) {
|
||||
});
|
||||
};
|
||||
|
||||
module.exports = usersController;
|
||||
module.exports = usersController;
|
||||
|
||||
@@ -65,4 +65,4 @@ apiController.getConfig = function(req, res, next) {
|
||||
};
|
||||
|
||||
|
||||
module.exports = apiController;
|
||||
module.exports = apiController;
|
||||
|
||||
@@ -266,4 +266,4 @@ Controllers.outgoing = function(req, res, next) {
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = Controllers;
|
||||
module.exports = Controllers;
|
||||
|
||||
@@ -181,4 +181,4 @@ topicsController.get = function(req, res, next) {
|
||||
});
|
||||
};
|
||||
|
||||
module.exports = topicsController;
|
||||
module.exports = topicsController;
|
||||
|
||||
@@ -100,4 +100,4 @@ usersController.getUsersForSearch = function(req, res, next) {
|
||||
|
||||
|
||||
|
||||
module.exports = usersController;
|
||||
module.exports = usersController;
|
||||
|
||||
@@ -11,4 +11,4 @@ if(!databaseType) {
|
||||
|
||||
var db = require('./database/' + databaseType);
|
||||
|
||||
module.exports = db;
|
||||
module.exports = db;
|
||||
|
||||
@@ -51,4 +51,4 @@ Emailer.send = function(template, uid, params) {
|
||||
});
|
||||
};
|
||||
|
||||
module.exports = Emailer;
|
||||
module.exports = Emailer;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
var events = require('events'),
|
||||
eventEmitter = new events.EventEmitter();
|
||||
|
||||
module.exports = eventEmitter;
|
||||
module.exports = eventEmitter;
|
||||
|
||||
@@ -113,4 +113,4 @@ var fs = require('fs'),
|
||||
});
|
||||
};
|
||||
|
||||
}(module.exports));
|
||||
}(module.exports));
|
||||
|
||||
@@ -218,4 +218,4 @@ var async = require('async'),
|
||||
}, callback);
|
||||
};
|
||||
|
||||
}(exports));
|
||||
}(exports));
|
||||
|
||||
@@ -44,4 +44,4 @@ image.convertImageToBase64 = function(path, callback) {
|
||||
});
|
||||
};
|
||||
|
||||
module.exports = image;
|
||||
module.exports = image;
|
||||
|
||||
@@ -510,4 +510,4 @@ var async = require('async'),
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = install;
|
||||
module.exports = install;
|
||||
|
||||
@@ -42,4 +42,4 @@ Languages.list = function(callback) {
|
||||
});
|
||||
};
|
||||
|
||||
module.exports = Languages;
|
||||
module.exports = Languages;
|
||||
|
||||
@@ -147,4 +147,4 @@ var db = require('./database'),
|
||||
});
|
||||
};
|
||||
|
||||
}(exports));
|
||||
}(exports));
|
||||
|
||||
@@ -89,4 +89,4 @@ middleware.buildHeader = function(req, res, next) {
|
||||
module.exports = function(webserver) {
|
||||
app = webserver;
|
||||
return middleware;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -218,4 +218,4 @@ module.exports = function(app, data) {
|
||||
});
|
||||
|
||||
return middleware;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -355,4 +355,4 @@ module.exports = function(webserver) {
|
||||
middleware.admin = require('./admin')(webserver);
|
||||
|
||||
return middleware;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -214,4 +214,4 @@
|
||||
uid: uid
|
||||
});
|
||||
});
|
||||
}(exports));
|
||||
}(exports));
|
||||
|
||||
@@ -64,4 +64,4 @@ module.exports = function(app, middleware, controllers) {
|
||||
// res.send(200);
|
||||
});
|
||||
});
|
||||
};
|
||||
};
|
||||
|
||||
@@ -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);
|
||||
};
|
||||
};
|
||||
|
||||
@@ -152,4 +152,4 @@ module.exports = function(app, middleware) {
|
||||
require('./debug')(app, middleware, controllers);
|
||||
}
|
||||
});
|
||||
};
|
||||
};
|
||||
|
||||
@@ -51,4 +51,4 @@ module.exports = function(app, middleware, controllers) {
|
||||
res.redirect('/404');
|
||||
}
|
||||
});
|
||||
};
|
||||
};
|
||||
|
||||
@@ -88,4 +88,4 @@ var path = require('path'),
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = sitemap;
|
||||
module.exports = sitemap;
|
||||
|
||||
@@ -47,4 +47,4 @@ SocketCategories.getTopicCount = function(socket, cid, callback) {
|
||||
categories.getCategoryField(cid, 'topic_count', callback);
|
||||
};
|
||||
|
||||
module.exports = SocketCategories;
|
||||
module.exports = SocketCategories;
|
||||
|
||||
@@ -319,4 +319,4 @@ function emitOnlineUserCount(callback) {
|
||||
|
||||
|
||||
/* Exporting */
|
||||
module.exports = Sockets;
|
||||
module.exports = Sockets;
|
||||
|
||||
@@ -102,4 +102,4 @@ SocketMeta.rooms.getAll = function(socket, data, callback) {
|
||||
|
||||
/* Exports */
|
||||
|
||||
module.exports = SocketMeta;
|
||||
module.exports = SocketMeta;
|
||||
|
||||
@@ -231,4 +231,4 @@ SocketModules.sounds.getMapping = function(socket, data, callback) {
|
||||
meta.sounds.getMapping(callback);
|
||||
};
|
||||
|
||||
module.exports = SocketModules;
|
||||
module.exports = SocketModules;
|
||||
|
||||
@@ -12,4 +12,4 @@ SocketNotifs.getCount = function(socket, data, callback) {
|
||||
user.notifications.getUnreadCount(socket.uid, callback);
|
||||
};
|
||||
|
||||
module.exports = SocketNotifs;
|
||||
module.exports = SocketNotifs;
|
||||
|
||||
@@ -318,4 +318,4 @@ SocketPosts.getCategory = function(socket, pid, callback) {
|
||||
posts.getCidByPid(pid, callback);
|
||||
};
|
||||
|
||||
module.exports = SocketPosts;
|
||||
module.exports = SocketPosts;
|
||||
|
||||
@@ -6,4 +6,4 @@ SocketTools.log = function(socket, data, callback) {
|
||||
//winston.info("captured console.log:", data)
|
||||
};
|
||||
|
||||
module.exports = SocketTools;
|
||||
module.exports = SocketTools;
|
||||
|
||||
@@ -313,4 +313,4 @@ SocketTopics.getTidIndex = function(socket, tid, callback) {
|
||||
categories.getTopicIndex(tid, callback);
|
||||
};
|
||||
|
||||
module.exports = SocketTopics;
|
||||
module.exports = SocketTopics;
|
||||
|
||||
@@ -248,4 +248,4 @@ SocketUser.setStatus = function(socket, status, callback) {
|
||||
|
||||
/* Exports */
|
||||
|
||||
module.exports = SocketUser;
|
||||
module.exports = SocketUser;
|
||||
|
||||
@@ -8,4 +8,4 @@ SocketWidgets.render = function(socket, data, callback) {
|
||||
widgets.render(socket.uid, data, callback);
|
||||
};
|
||||
|
||||
module.exports = SocketWidgets;
|
||||
module.exports = SocketWidgets;
|
||||
|
||||
@@ -293,4 +293,4 @@ var winston = require('winston'),
|
||||
});
|
||||
});
|
||||
};
|
||||
}(exports));
|
||||
}(exports));
|
||||
|
||||
@@ -478,4 +478,4 @@ var async = require('async'),
|
||||
});
|
||||
});
|
||||
};
|
||||
}(exports));
|
||||
}(exports));
|
||||
|
||||
@@ -219,4 +219,4 @@ module.exports = function(Topics) {
|
||||
], callback);
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
@@ -99,4 +99,4 @@ module.exports = function(Topics) {
|
||||
});
|
||||
});
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -223,4 +223,4 @@ module.exports = function(Topics) {
|
||||
};
|
||||
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
@@ -628,4 +628,4 @@ Upgrade.upgrade = function(callback) {
|
||||
});
|
||||
};
|
||||
|
||||
module.exports = Upgrade;
|
||||
module.exports = Upgrade;
|
||||
|
||||
@@ -141,4 +141,4 @@ module.exports = function(User) {
|
||||
});
|
||||
});
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -65,4 +65,4 @@ module.exports = function(User) {
|
||||
db.isSetMember('following:' + uid, theirid, callback);
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
@@ -180,4 +180,4 @@ var async = require('async'),
|
||||
});
|
||||
};
|
||||
|
||||
}(exports));
|
||||
}(exports));
|
||||
|
||||
@@ -253,4 +253,4 @@ module.exports = function(User) {
|
||||
}
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
@@ -89,4 +89,4 @@ var async = require('async'),
|
||||
});
|
||||
};
|
||||
|
||||
}(exports));
|
||||
}(exports));
|
||||
|
||||
@@ -41,4 +41,3 @@ module.exports = function(User) {
|
||||
});
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -50,4 +50,4 @@ module.exports = function(User) {
|
||||
notificationSounds: data.notificationSounds
|
||||
}, callback);
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -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
Reference in New Issue
Block a user