Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

method name change

  • Loading branch information...
commit 2b8f83899ba4792cca0e288a0f1f6c6a923c0b1d 1 parent 5a0d051
mpd authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 heatmap.js
View
6 heatmap.js
@@ -4,7 +4,7 @@ $(function () {
context,
cache = { toHue: {}, hueToRGB: {}},
normalizeHeat,
- drawHeat,
+ renderHeat,
toHue,
hueToRGB;
@@ -46,7 +46,7 @@ $(function () {
});
setInterval(function () {
- drawHeat(normalizeHeat(heat));
+ renderHeat(normalizeHeat(heat));
}, 500);
// normalize to a 0-255 range
@@ -74,7 +74,7 @@ $(function () {
return normalizedHeat;
};
- drawHeat = function (heat) {
+ renderHeat = function (heat) {
var x, y, splitArray, rgb;
context = canvas.get(0).getContext('2d');
Please sign in to comment.
Something went wrong with that request. Please try again.