From 11695ea51106cd38b948badbf0d95085379990a8 Mon Sep 17 00:00:00 2001 From: Silvio Date: Tue, 12 Mar 2013 14:20:39 -0300 Subject: Cleanup --- gmap_arcgis.js | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/gmap_arcgis.js b/gmap_arcgis.js index 21f6e20..e7042fd 100644 --- a/gmap_arcgis.js +++ b/gmap_arcgis.js @@ -252,27 +252,9 @@ function gmapArcgis(config) { this.sliderOpacity = 0; }, - // See http://alistapart.com/article/getoutbindingsituations - //createBoundedWrapper: function(object, method) { - // return function() { - // return method.apply(object, arguments); - // }; - //}, - // Setup slider activateSlider: function() { var self = this; - //var sliderUpdate = jQuery.proxy(this.sliderUpdate, this); - //var sliderUpdate = this.sliderUpdate.bind(this); - //var sliderUpdate = function(event, ui) { - // self.sliderUpdate(ui.value); - //} - //var sliderUpdate = function(event, ui) { - // return function() { - // return self.sliderUpdate.call(self, ui.value); - // } - //} - //var sliderUpdate = self.createBoundedWrapper(self, self.sliderUpdate); // Max is the number of layers in the service $("#slider").slider({ -- cgit v1.2.3