Skip to content

Commit 3160712

Browse files
committed
Update Painter.js
Fixes a wrong path.
1 parent afb73b3 commit 3160712

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/zrender/Painter.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ id, shape, width, height, devicePixelRatio) {
586586
shape.brush(ctx, false);
587587
}
588588

589-
var ImageShape = require('./shape/Image');
589+
var ImageShape = require('./shape/Image.js');
590590
var imgShape = new ImageShape({
591591
id: id,
592592
style: {
@@ -767,4 +767,4 @@ Layer.prototype.clear = function () {
767767
}
768768
};
769769

770-
module.exports = Painter;
770+
module.exports = Painter;

0 commit comments

Comments
 (0)