Skip to content

Commit 057bb3f

Browse files
committed
Solved a bug in the example, as reported by @robotnic here:
tombatossals#528
1 parent 64b79a5 commit 057bb3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/maxbounds-example.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<script src="../dist/angular-leaflet-directive.min.js"></script>
77
<link rel="stylesheet" href="../bower_components/leaflet/dist/leaflet.css" />
88
<script>
9-
angular.module("demoapp", ["leaflet-directive"]);
9+
var app = angular.module("demoapp", ["leaflet-directive"]);
1010
app.controller("DemoController", [ "$scope", "leafletData", function($scope, leafletData) {
1111
$scope.regions = {
1212
london: {
@@ -45,7 +45,7 @@
4545
maxbounds: {}
4646
});
4747

48-
};
48+
} ]);
4949
</script>
5050
<style>
5151
.angular-leaflet-map {

0 commit comments

Comments
 (0)