Navigation Menu

Skip to content

Commit

Permalink
Activate method chain for setXXX methods
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Aug 22, 2012
1 parent 5b12d64 commit 55f78c0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/database/index-field.js
Expand Up @@ -165,7 +165,7 @@ IndexField.prototype = {
},
setFacetEnabled: function(value) {
this.facetEnabled = value;
return value;
return this;
},
get facetEnabledConfigurationKey() {
return 'column_' + this.name + '_option_facet_enabled';
Expand All @@ -190,7 +190,7 @@ IndexField.prototype = {
},
setResultEnabled: function(value) {
this.resultEnabled = value;
return value;
return this;
},
get resultEnabledConfigurationKey() {
return 'column_' + this.name + '_option_result_enabled';
Expand All @@ -215,7 +215,7 @@ IndexField.prototype = {
},
setSearchEnabled: function(value) {
this.searchEnabled = value;
return value;
return this;
},
get searchEnabledConfigurationKey() {
return 'column_' + this.name + '_option_search_enabled';
Expand Down

0 comments on commit 55f78c0

Please sign in to comment.