canvas-5-polyfill
Advanced tools
Comparing version
@@ -12,2 +12,7 @@ /** | ||
*/ | ||
var CanvasRenderingContext2D = CanvasRenderingContext2D; | ||
if (CanvasRenderingContext2D == undefined) { | ||
CanvasRenderingContext2D = require('canvas').Context2d; | ||
} | ||
if (CanvasRenderingContext2D.prototype.ellipse == undefined) { | ||
@@ -14,0 +19,0 @@ CanvasRenderingContext2D.prototype.ellipse = function(x, y, radiusX, radiusY, rotation, startAngle, endAngle, antiClockwise) { |
{ | ||
"name": "canvas-5-polyfill", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "Polyfill for HTML 5 Canvas features.", | ||
"main": "canvas.js", | ||
"types": "./canvas.d.ts", | ||
"directories": { | ||
@@ -8,0 +7,0 @@ "test": "test" |
Sorry, the diff of this file is too big to display
173828
-0.7%20
-4.76%4776
-0.35%