Skip to content

Commit

Permalink
Source formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelclay committed Feb 9, 2014
1 parent b173f7d commit 328e027
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions lib/js/views/search_box.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ VS.ui.SearchBox = Backbone.View.extend({
// Creating a new SearchBox registers handlers for re-rendering facets when necessary,
// as well as handling typing when a facet is selected.
initialize : function(options) {
if(options)
this.options = options;
if (options) this.options = options;

this.app = this.options.app;
this.flags = {
Expand Down
3 changes: 1 addition & 2 deletions lib/js/views/search_facet.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ VS.ui.SearchFacet = Backbone.View.extend({
},

initialize : function(options) {
if(options)
this.options = options;
if (options) this.options = options;

this.flags = {
canClose : false
Expand Down
3 changes: 1 addition & 2 deletions lib/js/views/search_input.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ VS.ui.SearchInput = Backbone.View.extend({
},

initialize : function(options) {
if(options)
this.options = options;
if (options) this.options = options;

this.app = this.options.app;
this.flags = {
Expand Down

0 comments on commit 328e027

Please sign in to comment.