mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-05-02 02:54:43 +00:00
The jsdoc params for fabric.Image.clone() were out of order, making
the jsdoc API reference for this method at
http://fabricjs.com/docs/symbols/fabric.Image.html
display an incorrect method summary (with the order of propertiesToInclude
and callback swapped).
This commit is contained in:
parent
36ade22a34
commit
bafc75b35c
1 changed files with 1 additions and 1 deletions
|
|
@ -172,8 +172,8 @@
|
|||
/**
|
||||
* Returns a clone of an instance
|
||||
* @method clone
|
||||
* @param {Array} propertiesToInclude
|
||||
* @param {Function} callback Callback is invoked with a clone as a first argument
|
||||
* @param {Array} propertiesToInclude
|
||||
*/
|
||||
clone: function(callback, propertiesToInclude) {
|
||||
this.constructor.fromObject(this.toObject(propertiesToInclude), callback);
|
||||
|
|
|
|||
Loading…
Reference in a new issue