Syntax fixes.
Showing
1 changed file
with
3 additions
and
4 deletions
... | @@ -418,7 +418,6 @@ define(function(require) { | ... | @@ -418,7 +418,6 @@ define(function(require) { |
418 | return; | 418 | return; |
419 | } | 419 | } |
420 | var checkedKeys = []; | 420 | var checkedKeys = []; |
421 | var checkedCount | ||
422 | this.get('items').each(function(facetItem) { | 421 | this.get('items').each(function(facetItem) { |
423 | if (facetItem.get('checked')) { | 422 | if (facetItem.get('checked')) { |
424 | checkedKeys.push(facetItem.get('key')); | 423 | checkedKeys.push(facetItem.get('key')); |
... | @@ -837,8 +836,8 @@ define(function(require) { | ... | @@ -837,8 +836,8 @@ define(function(require) { |
837 | if (parts) { | 836 | if (parts) { |
838 | var formNameMap = this.get('formNameMap'); | 837 | var formNameMap = this.get('formNameMap'); |
839 | var keyValueParts = parts[1].split('&'); | 838 | var keyValueParts = parts[1].split('&'); |
840 | for (var i = 0; i < keyValueParts.length; i++) { | 839 | _.each(keyValueParts, function(keyValuePart, i) { |
841 | var keyFieldValue = keyValueParts[i].match(/^([^.]+)(?:\.([^.]+))?=(.*)$/); | 840 | var keyFieldValue = keyValuePart.match(/^([^.]+)(?:\.([^.]+))?=(.*)$/); |
842 | if (keyFieldValue) { | 841 | if (keyFieldValue) { |
843 | var key = keyFieldValue[1]; | 842 | var key = keyFieldValue[1]; |
844 | var field = keyFieldValue[2]; | 843 | var field = keyFieldValue[2]; |
... | @@ -869,7 +868,7 @@ define(function(require) { | ... | @@ -869,7 +868,7 @@ define(function(require) { |
869 | } | 868 | } |
870 | } | 869 | } |
871 | } | 870 | } |
872 | } | 871 | }, this); |
873 | } | 872 | } |
874 | }, | 873 | }, |
875 | initialize: function(data, options) { | 874 | initialize: function(data, options) { | ... | ... |
-
Please register or sign in to post a comment