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:
Taher Haveliwala 2013-04-03 20:14:14 -07:00
parent 36ade22a34
commit bafc75b35c

View file

@ -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);