Skip to content

Commit

Permalink
test pass
Browse files Browse the repository at this point in the history
  • Loading branch information
asturur committed Sep 29, 2022
1 parent cb4eb2c commit 2ea8540
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 0 additions & 4 deletions src/mixins/shared_methods.mixin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@
return this;
},

_set: function (key, value) {
this[key] = value;
},

/**
* Toggles specified property from `true` to `false` or from `false` to `true`
* @param {String} property Property to toggle
Expand Down
2 changes: 1 addition & 1 deletion src/shapes/object.class.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1500,7 +1500,7 @@ export class FabricObject {
return FabricObject._fromObject(FabricObject, object, options);
}
}
console.log({fabric})

Object.assign(
FabricObject.prototype,
fabric.Observable,
Expand Down
5 changes: 5 additions & 0 deletions src/static_canvas.class.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ import { FabricObject } from './shapes/object.class';
this._initStatic(el, options);
},

// temporary test fix
_set: function (key, value) {
this[key] = value;
},

/**
* Background color of canvas instance.
* @type {(String|fabric.Pattern)}
Expand Down

0 comments on commit 2ea8540

Please sign in to comment.