mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-04-27 16:54:43 +00:00
Build dist
This commit is contained in:
parent
92154f7a16
commit
9d06af010a
4 changed files with 13 additions and 31 deletions
17
dist/fabric.js
vendored
17
dist/fabric.js
vendored
|
|
@ -37,6 +37,7 @@ fabric.isTouchSupported = "ontouchstart" in fabric.document.documentElement;
|
|||
fabric.isLikelyNode = typeof Buffer !== 'undefined' &&
|
||||
typeof window === 'undefined';
|
||||
|
||||
/* _FROM_SVG_START_ */
|
||||
/**
|
||||
* Attributes parsed from all SVG elements
|
||||
* @type array
|
||||
|
|
@ -50,6 +51,7 @@ fabric.SHARED_ATTRIBUTES = [
|
|||
"stroke-linejoin", "stroke-miterlimit",
|
||||
"stroke-opacity", "stroke-width"
|
||||
];
|
||||
/* _FROM_SVG_END_ */
|
||||
|
||||
/**
|
||||
* Pixel per Inch as a default value set to 96. Can be changed for more realistic conversion.
|
||||
|
|
@ -9572,12 +9574,10 @@ fabric.PatternBrush = fabric.util.createClass(fabric.PencilBrush, /** @lends fab
|
|||
* @private
|
||||
*/
|
||||
_beforeTransform: function(e, target) {
|
||||
var corner;
|
||||
|
||||
this.stateful && target.saveState();
|
||||
|
||||
// determine if it's a drag or rotate case
|
||||
if ((corner = target._findTargetCorner(this.getPointer(e)))) {
|
||||
if (target._findTargetCorner(this.getPointer(e))) {
|
||||
this.onBeforeScaleRotate(target);
|
||||
}
|
||||
|
||||
|
|
@ -10693,15 +10693,6 @@ fabric.util.object.extend(fabric.StaticCanvas.prototype, /** @lends fabric.Stati
|
|||
* @return {Number}
|
||||
*/
|
||||
|
||||
/**
|
||||
* Sets object's {@link fabric.Object#angle|angle}
|
||||
* @method setAngle
|
||||
* @memberOf fabric.Object.prototype
|
||||
* @param {Number} value Angle value (in degrees)
|
||||
* @return {fabric.Object} thisArg
|
||||
* @chainable
|
||||
*/
|
||||
|
||||
/**
|
||||
* Retrieves object's {@link fabric.Object#top|top position}
|
||||
* @method getTop
|
||||
|
|
@ -11904,7 +11895,7 @@ fabric.util.object.extend(fabric.StaticCanvas.prototype, /** @lends fabric.Stati
|
|||
|
||||
/**
|
||||
* Sets "angle" of an instance
|
||||
* @param {Number} angle Angle value
|
||||
* @param {Number} angle Angle value (in degrees)
|
||||
* @return {fabric.Object} thisArg
|
||||
* @chainable
|
||||
*/
|
||||
|
|
|
|||
10
dist/fabric.min.js
vendored
10
dist/fabric.min.js
vendored
File diff suppressed because one or more lines are too long
BIN
dist/fabric.min.js.gz
vendored
BIN
dist/fabric.min.js.gz
vendored
Binary file not shown.
17
dist/fabric.require.js
vendored
17
dist/fabric.require.js
vendored
|
|
@ -37,6 +37,7 @@ fabric.isTouchSupported = "ontouchstart" in fabric.document.documentElement;
|
|||
fabric.isLikelyNode = typeof Buffer !== 'undefined' &&
|
||||
typeof window === 'undefined';
|
||||
|
||||
/* _FROM_SVG_START_ */
|
||||
/**
|
||||
* Attributes parsed from all SVG elements
|
||||
* @type array
|
||||
|
|
@ -50,6 +51,7 @@ fabric.SHARED_ATTRIBUTES = [
|
|||
"stroke-linejoin", "stroke-miterlimit",
|
||||
"stroke-opacity", "stroke-width"
|
||||
];
|
||||
/* _FROM_SVG_END_ */
|
||||
|
||||
/**
|
||||
* Pixel per Inch as a default value set to 96. Can be changed for more realistic conversion.
|
||||
|
|
@ -9572,12 +9574,10 @@ fabric.PatternBrush = fabric.util.createClass(fabric.PencilBrush, /** @lends fab
|
|||
* @private
|
||||
*/
|
||||
_beforeTransform: function(e, target) {
|
||||
var corner;
|
||||
|
||||
this.stateful && target.saveState();
|
||||
|
||||
// determine if it's a drag or rotate case
|
||||
if ((corner = target._findTargetCorner(this.getPointer(e)))) {
|
||||
if (target._findTargetCorner(this.getPointer(e))) {
|
||||
this.onBeforeScaleRotate(target);
|
||||
}
|
||||
|
||||
|
|
@ -10693,15 +10693,6 @@ fabric.util.object.extend(fabric.StaticCanvas.prototype, /** @lends fabric.Stati
|
|||
* @return {Number}
|
||||
*/
|
||||
|
||||
/**
|
||||
* Sets object's {@link fabric.Object#angle|angle}
|
||||
* @method setAngle
|
||||
* @memberOf fabric.Object.prototype
|
||||
* @param {Number} value Angle value (in degrees)
|
||||
* @return {fabric.Object} thisArg
|
||||
* @chainable
|
||||
*/
|
||||
|
||||
/**
|
||||
* Retrieves object's {@link fabric.Object#top|top position}
|
||||
* @method getTop
|
||||
|
|
@ -11904,7 +11895,7 @@ fabric.util.object.extend(fabric.StaticCanvas.prototype, /** @lends fabric.Stati
|
|||
|
||||
/**
|
||||
* Sets "angle" of an instance
|
||||
* @param {Number} angle Angle value
|
||||
* @param {Number} angle Angle value (in degrees)
|
||||
* @return {fabric.Object} thisArg
|
||||
* @chainable
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue