Skip to content

Commit

Permalink
some jshint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
André Kussmann committed Jul 14, 2012
1 parent cd70150 commit f328cab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cushion.js
Expand Up @@ -225,7 +225,7 @@ cushion.prototype.listDatabases = function(noCouchRelatedOrCallback, callback) {
// filter couch related databases, if user want's so
if (noCouchRelated === true) {
response = response.filter(function(dbName, index, list) {
return !(dbName[0] === '_');
return (dbName[0] !== '_');
});
}

Expand Down
4 changes: 2 additions & 2 deletions design.js
Expand Up @@ -90,11 +90,11 @@ Design.prototype.view = function(name, map, reduce) {
var view = {};

if (reduce) {
view['reduce'] = reduce;
view.reduce = reduce;
}

if (map !== undefined) {
view['map'] = map;
view.map = map;

this.body('views', name, ((map === null) ? undefined : view));
}
Expand Down

0 comments on commit f328cab

Please sign in to comment.