Comparing version 0.0.0 to 0.0.1
@@ -88,12 +88,4 @@ var convert = require('color-convert'); | ||
this.clearCanvas(); | ||
this.canvas.getContext('2d').putImageData(heat, 0, 0); | ||
return this; | ||
}; | ||
Heat.prototype.clearCanvas = function () { | ||
var ctx = this.canvas.getContext('2d'); | ||
ctx.fillStyle = null; | ||
ctx.fillRect(0, 0, this.canvas.width, this.canvas.height); | ||
return this; | ||
}; |
{ | ||
"name" : "heatmap", | ||
"version" : "0.0.0", | ||
"version" : "0.0.1", | ||
"description" : "canvas heat maps for node and the browser", | ||
@@ -5,0 +5,0 @@ "main" : "index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6431
115