Fix comment.

This commit is contained in:
Jürg Lehni 2013-04-16 19:41:45 -07:00
parent 96b886ae8d
commit d2b43b043a

View file

@ -332,7 +332,7 @@ var Raster = this.Raster = PlacedItem.extend(/** @lends Raster# */{
*/ */
toDataURL: function() { toDataURL: function() {
// See if the linked image is base64 encoded already, if so reuse it, // See if the linked image is base64 encoded already, if so reuse it,
// otherwise try using canvas.toDataUrl() // otherwise try using canvas.toDataURL()
var src = this._image && this._image.src; var src = this._image && this._image.src;
if (/^data:/.test(src)) if (/^data:/.test(src))
return src; return src;