Skip to content

Commit 6f11353

Browse files
committed
Removed unused variables
1 parent e7a1f0f commit 6f11353

File tree

3 files changed

+6
-12
lines changed

3 files changed

+6
-12
lines changed

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

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
/*! jQuery Google Maps Store Locator - v2.7.5 - 2017-12-12
1+
/*! jQuery Google Maps Store Locator - v2.7.5 - 2018-02-08
22
* http://www.bjornblog.com/web/jquery-store-locator-plugin
3-
* Copyright (c) 2017 Bjorn Holine; Licensed MIT */
3+
* Copyright (c) 2018 Bjorn Holine; Licensed MIT */
44

55
;(function ($, window, document, undefined) {
66
'use strict';
@@ -602,8 +602,7 @@
602602
this.writeDebug('_start');
603603
var _this = this,
604604
doAutoGeo = this.settings.autoGeocode,
605-
latlng,
606-
originAddress;
605+
latlng;
607606

608607
// Full map blank start
609608
if (_this.settings.fullMapStartBlank !== false) {
@@ -717,7 +716,6 @@
717716
*/
718717
googleGeocode: function (thisObj) {
719718
thisObj.writeDebug('googleGeocode',arguments);
720-
var _this = thisObj;
721719
var geocoder = new google.maps.Geocoder();
722720
this.geocode = function (request, callbackFunction) {
723721
geocoder.geocode(request, function (results, status) {
@@ -740,7 +738,6 @@
740738
*/
741739
reverseGoogleGeocode: function (thisObj) {
742740
thisObj.writeDebug('reverseGoogleGeocode',arguments);
743-
var _this = thisObj;
744741
var geocoder = new google.maps.Geocoder();
745742
this.geocode = function (request, callbackFunction) {
746743
geocoder.geocode(request, function (results, status) {

0 commit comments

Comments
 (0)