Removed unused variables and updated commenting

This commit is contained in:
b1nd 2013-10-16 11:32:44 +11:00
parent 5f3f0d013b
commit c61806c1c8

View File

@ -15,7 +15,6 @@ var Ghost = require('../ghost'),
tags,
notifications,
settings,
themes,
requestHandler,
settingsObject,
settingsCollection,
@ -229,6 +228,7 @@ settingsCollection = function (settings) {
});
};
// Filters an object based on a given filter object
settingsFilter = function (settings, filter) {
return _.object(_.filter(_.pairs(settings), function (setting) {
if (filter) {
@ -365,5 +365,4 @@ module.exports.users = users;
module.exports.tags = tags;
module.exports.notifications = notifications;
module.exports.settings = settings;
module.exports.themes = themes;
module.exports.requestHandler = requestHandler;