Skip to content

Commit

Permalink
Merge branch 'kherrala-geojson-fix'
Browse files Browse the repository at this point in the history
  • Loading branch information
tombatossals committed Nov 17, 2015
2 parents 0695e78 + 60d9dde commit 1cfbdf4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/directives/geojson.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ angular.module('leaflet-directive')
_remove(leafletGeoJSON);
};

var _addGeojson = function(model, maybeName) {
var geojson = angular.copy(model);
var _addGeojson = function(geojson, maybeName) {
if (!(isDefined(geojson) && isDefined(geojson.data))) {
return;
}
Expand Down

0 comments on commit 1cfbdf4

Please sign in to comment.