mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-05-11 23:33:10 +00:00
Remove some unused "stub" code.
This commit is contained in:
parent
a535b004e6
commit
04ec1688e9
2 changed files with 2 additions and 19 deletions
10
dist/all.js
vendored
10
dist/all.js
vendored
|
|
@ -6388,12 +6388,7 @@ fabric.util.animate = animate;
|
|||
}
|
||||
ctx.beginPath();
|
||||
|
||||
if (this.stub) {
|
||||
this.stub._render(ctx);
|
||||
}
|
||||
else {
|
||||
this._render(ctx);
|
||||
}
|
||||
this._render(ctx);
|
||||
|
||||
if (this.fill) {
|
||||
ctx.fill();
|
||||
|
|
@ -6455,9 +6450,6 @@ fabric.util.animate = animate;
|
|||
},
|
||||
|
||||
set: function(prop, value) {
|
||||
if (this.stub) {
|
||||
this.stub.set(prop, value)
|
||||
}
|
||||
return this.callSuper('set', prop, value);
|
||||
},
|
||||
|
||||
|
|
|
|||
|
|
@ -282,13 +282,7 @@
|
|||
}
|
||||
ctx.beginPath();
|
||||
|
||||
// stubbb !!!
|
||||
if (this.stub) {
|
||||
this.stub._render(ctx);
|
||||
}
|
||||
else {
|
||||
this._render(ctx);
|
||||
}
|
||||
this._render(ctx);
|
||||
|
||||
if (this.fill) {
|
||||
ctx.fill();
|
||||
|
|
@ -350,9 +344,6 @@
|
|||
},
|
||||
|
||||
set: function(prop, value) {
|
||||
if (this.stub) {
|
||||
this.stub.set(prop, value)
|
||||
}
|
||||
return this.callSuper('set', prop, value);
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue