Skip to content

Commit 7cbe646

Browse files
committed
Add writedebug to new functions, update version number
1 parent c8535d5 commit 7cbe646

File tree

6 files changed

+11
-7
lines changed

6 files changed

+11
-7
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jquery-storelocator-plugin",
3-
"version": "3.1.7",
3+
"version": "3.1.8",
44
"description": "This jQuery plugin takes advantage of Google Maps API version 3 to create an easy to implement store locator. No back-end programming is required, you just need to feed it KML, XML, or JSON data with all the location information.",
55
"repository": {
66
"type": "git",

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! jQuery Google Maps Store Locator - v3.1.7 - 2022-08-20
1+
/*! jQuery Google Maps Store Locator - v3.1.8 - 2022-08-21
22
* http://www.bjornblog.com/web/jquery-store-locator-plugin
33
* Copyright (c) 2022 Bjorn Holine; Licensed MIT */
44

@@ -401,6 +401,7 @@
401401
* @returns {boolean}
402402
*/
403403
inRange(min, num, max){
404+
this.writeDebug('inRange',arguments);
404405
num = Math.abs(num);
405406
return isFinite(num) && (num >= min) && (num <= max);
406407
},
@@ -414,6 +415,7 @@
414415
* @returns {boolean}
415416
*/
416417
coordinatesInRange: function (lat, lng) {
418+
this.writeDebug('coordinatesInRange',arguments);
417419
return this.inRange(-90, lat, 90) && this.inRange(-180, lng, 180);
418420
},
419421

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

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jquery-storelocator-plugin",
3-
"version": "3.1.7",
3+
"version": "3.1.8",
44
"description": "This jQuery plugin takes advantage of Google Maps API version 3 to create an easy to implement store locator. No back-end programming is required, you just need to feed it KML, XML, or JSON data with all the location information.",
55
"repository": {
66
"type": "git",

src/js/jquery.storelocator.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,7 @@
397397
* @returns {boolean}
398398
*/
399399
inRange(min, num, max){
400+
this.writeDebug('inRange',arguments);
400401
num = Math.abs(num);
401402
return isFinite(num) && (num >= min) && (num <= max);
402403
},
@@ -410,6 +411,7 @@
410411
* @returns {boolean}
411412
*/
412413
coordinatesInRange: function (lat, lng) {
414+
this.writeDebug('coordinatesInRange',arguments);
413415
return this.inRange(-90, lat, 90) && this.inRange(-180, lng, 180);
414416
},
415417

storelocator.jquery.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
"title": "jQuery Google Maps Store Locator",
44
"description": "This jQuery plugin takes advantage of Google Maps API version 3 to create an easy to implement store locator. No back-end programming is required, you just need to feed it KML, XML, or JSON data with all the location information.",
55
"keywords": ["jquery","locator","store","dealer","location", "locations", "maps", "map", "stores", "find"],
6-
"version": "3.1.7",
6+
"version": "3.1.8",
77
"author": {
88
"name": "Bjorn Holine",
9-
"url": "http://www.bjornblog.com/"
9+
"url": "https://www.bjornblog.com/"
1010
},
1111
"repository": {
1212
"type": "git",

0 commit comments

Comments
 (0)