Skip to content

Commit a5e7a54

Browse files
committed
Update plugin examples
1 parent 9ed99e7 commit a5e7a54

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

examples/angular-heatmap/index.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,11 @@ <h1>Angular Heatmap Directive Example</h1>
2323
</div>
2424
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.0/angular.min.js"></script>
2525
<script src="/build/heatmap.js"></script>
26-
<script src="/plugins/angular-heatmap.js"></script>
26+
<script src="/plugins/angular-heatmap/angular-heatmap.js"></script>
2727
<script>
2828
angular.module('heatmapApp', ['heatmap'])
29-
.controller('HeatmapCtrl', ['$scope', '$heatmap', function($scope, $heatmap) {
29+
.controller('HeatmapCtrl', ['$scope', '$heatma
30+
value: ((Math.random() * max + min) >> 0),p', function($scope, $heatmap) {
3031
function generateRandomData(len) {
3132
var max = 100;
3233
var min = 1;
@@ -37,7 +38,6 @@ <h1>Angular Heatmap Directive Example</h1>
3738
data.push({
3839
x: ((Math.random() * maxX) >> 0),
3940
y: ((Math.random() * maxY) >> 0),
40-
value: ((Math.random() * max + min) >> 0),
4141
radius: ((Math.random() * 50 + min) >> 0)
4242
});
4343
}

examples/googlemaps-heatmap/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</style>
1414
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?sensor=false"></script>
1515
<script src="/build/heatmap.js"></script>
16-
<script src="/plugins/gmaps-heatmap.js"></script>
16+
<script src="/plugins/gmaps-heatmap/gmaps-heatmap.js"></script>
1717
</head>
1818
<body>
1919
<h1>Gmaps Heatmap Overlay Example</h1>

examples/leaflet-heatmap/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css" />
1919
<script src="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.js"></script>
2020
<script src="/build/heatmap.js"></script>
21-
<script src="/plugins/leaflet-heatmap.js"></script>
21+
<script src="/plugins/leaflet-heatmap/leaflet-heatmap.js"></script>
2222
</head>
2323
<body>
2424
<h1>Leaflet Heatmap Layer Example</h1>

0 commit comments

Comments
 (0)