Skip to content

Commit

Permalink
reinserted deleted method to do not break api
Browse files Browse the repository at this point in the history
  • Loading branch information
asturur committed Apr 23, 2017
1 parent aff86b1 commit e2facba
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/shapes/object.class.js
Original file line number Diff line number Diff line change
Expand Up @@ -1104,6 +1104,17 @@
// implemented by sub-classes, as needed.
},

/**
* Sets sourcePath of an object
* @param {String} value Value to set sourcePath to
* @return {fabric.Object} thisArg
* @chainable
*/
setSourcePath: function(value) {
this.sourcePath = value;
return this;
},

/**
* Retrieves viewportTransform from Object's canvas if possible
* @method getViewportTransform
Expand Down

0 comments on commit e2facba

Please sign in to comment.