From 328e0275760544fb2180e90e9e833fe834ca326c Mon Sep 17 00:00:00 2001 From: Samuel Clay Date: Sun, 9 Feb 2014 15:35:08 -0800 Subject: [PATCH] Source formatting. --- lib/js/views/search_box.js | 3 +-- lib/js/views/search_facet.js | 3 +-- lib/js/views/search_input.js | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/lib/js/views/search_box.js b/lib/js/views/search_box.js index 9c15c60..6a95535 100644 --- a/lib/js/views/search_box.js +++ b/lib/js/views/search_box.js @@ -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 = { diff --git a/lib/js/views/search_facet.js b/lib/js/views/search_facet.js index 606db13..db9f5be 100644 --- a/lib/js/views/search_facet.js +++ b/lib/js/views/search_facet.js @@ -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 diff --git a/lib/js/views/search_input.js b/lib/js/views/search_input.js index 9f36cb8..a9e0d66 100644 --- a/lib/js/views/search_input.js +++ b/lib/js/views/search_input.js @@ -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 = {