Skip to content

Commit

Permalink
Cleanup: remove unnecessary commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Larson committed Jul 28, 2017
1 parent 976c1ca commit a1ef843
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/assets/javascripts/geoblacklight/viewers/esri.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ GeoBlacklight.Viewer.Esri = GeoBlacklight.Viewer.Map.extend({
// remove any trailing slash from endpoint url
_this.data.url = _this.data.url.replace(/\/$/, '');

// L.esri.get = L.esri.Request.get.JSONP;
L.esri.get(_this.data.url, {}, function(error, response){
if(!error) {
_this.layerInfo = response;
Expand Down

0 comments on commit a1ef843

Please sign in to comment.