diff --git a/lib/canvas.js b/lib/canvas.js index 9791515..8ee2b2a 100644 --- a/lib/canvas.js +++ b/lib/canvas.js @@ -13,7 +13,7 @@ var canvas = require('../build/default/canvas') , Canvas = canvas.Canvas , Image = canvas.Image , cairoVersion = canvas.cairoVersion - , PixelArray = Canvas.PixelArray + , PixelArray = canvas.PixelArray , Context2d = require('./context2d') , PNGStream = require('./pngstream') , fs = require('fs');