bbb7f7fb by Adam Heath

Syntax fixes.

1 parent a80b0757
......@@ -418,7 +418,6 @@ define(function(require) {
return;
}
var checkedKeys = [];
var checkedCount
this.get('items').each(function(facetItem) {
if (facetItem.get('checked')) {
checkedKeys.push(facetItem.get('key'));
......@@ -837,8 +836,8 @@ define(function(require) {
if (parts) {
var formNameMap = this.get('formNameMap');
var keyValueParts = parts[1].split('&');
for (var i = 0; i < keyValueParts.length; i++) {
var keyFieldValue = keyValueParts[i].match(/^([^.]+)(?:\.([^.]+))?=(.*)$/);
_.each(keyValueParts, function(keyValuePart, i) {
var keyFieldValue = keyValuePart.match(/^([^.]+)(?:\.([^.]+))?=(.*)$/);
if (keyFieldValue) {
var key = keyFieldValue[1];
var field = keyFieldValue[2];
......@@ -869,7 +868,7 @@ define(function(require) {
}
}
}
}
}, this);
}
},
initialize: function(data, options) {
......