Build dist

This commit is contained in:
kangax 2015-03-30 12:06:14 +02:00
parent 92154f7a16
commit 9d06af010a
4 changed files with 13 additions and 31 deletions

17
dist/fabric.js vendored
View file

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

File diff suppressed because one or more lines are too long

BIN
dist/fabric.min.js.gz vendored

Binary file not shown.

View file

@ -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
*/