mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-05-05 12:24:46 +00:00
path is the only object that inherits from Object but does not call super. it should also call super for consistancey and to allow overriding of the object initialize prototype (#4005)
This commit is contained in:
parent
5773b5495a
commit
a1ccf7155b
1 changed files with 1 additions and 4 deletions
|
|
@ -79,10 +79,7 @@
|
|||
*/
|
||||
initialize: function(path, options) {
|
||||
options = options || { };
|
||||
|
||||
if (options) {
|
||||
this.setOptions(options);
|
||||
}
|
||||
this.callSuper('initialize', options);
|
||||
|
||||
if (!path) {
|
||||
path = [];
|
||||
|
|
|
|||
Loading…
Reference in a new issue