Skip to content

Commit 5618893

Browse files
committed
Updated exclusive filtering test to account for periods now being removed from filter values
1 parent 1201e16 commit 5618893

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

dist/assets/js/plugins/storeLocator/jquery.storelocator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! jQuery Google Maps Store Locator - v2.7.4 - 2017-06-11
1+
/*! jQuery Google Maps Store Locator - v2.7.4 - 2017-06-12
22
* http://www.bjornblog.com/web/jquery-store-locator-plugin
33
* Copyright (c) 2017 Bjorn Holine; Licensed MIT */
44

dist/assets/js/plugins/storeLocator/jquery.storelocator.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/storeLocator_test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575

7676
test('geoCodeCalcDiffRadian()', 2, function() {
7777
var $this = $('#bh-sl-map-container').data('plugin_storeLocator');
78-
78+
7979
deepEqual($this.geoCodeCalcDiffRadian(10, 5), ($this.geoCodeCalcToRadian(5) - $this.geoCodeCalcToRadian(10)), 'Integer test');
8080
deepEqual($this.geoCodeCalcDiffRadian(10.10, 5.5), ($this.geoCodeCalcToRadian(5.5) - $this.geoCodeCalcToRadian(10.10)), 'Float test');
8181
});
@@ -186,7 +186,7 @@
186186

187187
// Multi-filter
188188
filters = {
189-
'city': ['Minneapolis', 'St. Paul']
189+
'city': ['Minneapolis', 'St Paul']
190190
};
191191

192192
locationset = [{
@@ -230,5 +230,5 @@
230230
deepEqual(exclusiveTest, locationsMatch, 'Exclusive filtering test');
231231
});
232232

233-
233+
234234
}(jQuery));

0 commit comments

Comments
 (0)