Skip to content

Commit

Permalink
Update Painter.js
Browse files Browse the repository at this point in the history
Fixes a wrong path.
  • Loading branch information
leecade committed Jan 19, 2015
1 parent afb73b3 commit 3160712
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/zrender/Painter.js
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ id, shape, width, height, devicePixelRatio) {
shape.brush(ctx, false);
}

var ImageShape = require('./shape/Image');
var ImageShape = require('./shape/Image.js');
var imgShape = new ImageShape({
id: id,
style: {
Expand Down Expand Up @@ -767,4 +767,4 @@ Layer.prototype.clear = function () {
}
};

module.exports = Painter;
module.exports = Painter;

0 comments on commit 3160712

Please sign in to comment.