Build distribution

This commit is contained in:
kangax 2013-05-20 19:45:38 +02:00
parent 4cb7819c32
commit 7df7e41225
3 changed files with 10 additions and 20 deletions

26
dist/all.js vendored
View file

@ -14762,24 +14762,6 @@ fabric.util.object.extend(fabric.Object.prototype, /** @lends fabric.Object.prot
this.top = (minY + height / 2) || 0;
},
/**
* Checks if point is contained within the group
* @param {fabric.Point} point point with `x` and `y` properties
* @return {Boolean} true if point is contained within group
*/
containsPoint: function(point) {
var halfWidth = this.get('width') / 2,
halfHeight = this.get('height') / 2,
centerX = this.get('left'),
centerY = this.get('top');
return centerX - halfWidth < point.x &&
centerX + halfWidth > point.x &&
centerY - halfHeight < point.y &&
centerY + halfHeight > point.y;
},
/* _TO_SVG_START_ */
/**
* Returns svg representation of an instance
@ -17087,6 +17069,14 @@ fabric.Image.filters.Pixelate.fromObject = function(object) {
this._initDimensions();
this.setCoords();
}
},
/**
* Returns complexity of an instance
* @return {Number} complexity
*/
complexity: function() {
return 1;
}
});

4
dist/all.min.js vendored

File diff suppressed because one or more lines are too long

BIN
dist/all.min.js.gz vendored

Binary file not shown.