mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-05-24 05:03:44 +00:00
Build distribution
This commit is contained in:
parent
fcc0c5cbbb
commit
8f34f2ac34
3 changed files with 18 additions and 9 deletions
19
dist/all.js
vendored
19
dist/all.js
vendored
|
|
@ -4261,7 +4261,7 @@ fabric.util.string = {
|
|||
instances.splice(index, 0, obj);
|
||||
checkIfDone();
|
||||
};
|
||||
})(index), options);
|
||||
})(index, el), options);
|
||||
}
|
||||
else {
|
||||
var obj = klass.fromElement(el, options);
|
||||
|
|
@ -10726,24 +10726,32 @@ fabric.util.object.extend(fabric.StaticCanvas.prototype, /** @scope fabric.Stati
|
|||
/**
|
||||
* Sets pattern fill of an object
|
||||
* @method setPatternFill
|
||||
* @param {Object} options
|
||||
* @param {Object} [options] Options object
|
||||
* @return {fabric.Object} thisArg
|
||||
* @chainable
|
||||
*/
|
||||
setPatternFill: function(options) {
|
||||
this.set('fill', new fabric.Pattern(options));
|
||||
return this.set('fill', new fabric.Pattern(options));
|
||||
},
|
||||
|
||||
/**
|
||||
* Sets shadow of an object
|
||||
* @method setShadow
|
||||
* @param {Object} options
|
||||
* @param {Object} [options] Options object
|
||||
* @return {fabric.Object} thisArg
|
||||
* @chainable
|
||||
*/
|
||||
setShadow: function(options) {
|
||||
this.set('shadow', new fabric.Shadow(options));
|
||||
return this.set('shadow', new fabric.Shadow(options));
|
||||
},
|
||||
|
||||
/**
|
||||
* Animates object's properties
|
||||
* @method animate
|
||||
* @param {String|Object} property to animate (if string) or properties to animate (if object)
|
||||
* @param {Number|Object} value to animate property to (if string was given first) or options object
|
||||
* @return {fabric.Object} thisArg
|
||||
* @chainable
|
||||
*
|
||||
* As object — multiple properties
|
||||
*
|
||||
|
|
@ -10777,6 +10785,7 @@ fabric.util.object.extend(fabric.StaticCanvas.prototype, /** @scope fabric.Stati
|
|||
/**
|
||||
* @private
|
||||
* @method _animate
|
||||
* @parm property
|
||||
*/
|
||||
_animate: function(property, to, options, skipCallbacks) {
|
||||
var obj = this, propPair;
|
||||
|
|
|
|||
8
dist/all.min.js
vendored
8
dist/all.min.js
vendored
File diff suppressed because one or more lines are too long
BIN
dist/all.min.js.gz
vendored
BIN
dist/all.min.js.gz
vendored
Binary file not shown.
Loading…
Reference in a new issue