mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 05:37:34 +03:00
Removed unused variables and updated commenting
This commit is contained in:
parent
5f3f0d013b
commit
c61806c1c8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user