build v176 (#3707)

This commit is contained in:
Andrea Bogazzi 2017-02-16 17:24:39 -05:00 committed by GitHub
parent ff0b6f0a50
commit b9d4888188
8 changed files with 22 additions and 12 deletions

View file

@ -1,3 +1,7 @@
**Version 1.7.6**
- Fix: make the cacheCanvas created on the fly if not available [#3705](https://github.com/kangax/fabric.js/pull/3705)
**Version 1.7.5**
- Improvement: draw textbackgroundColor in one single pass when possible @stefanhayden [#3698](https://github.com/kangax/fabric.js/pull/3698)

View file

@ -1,6 +1,6 @@
/*! Fabric.js Copyright 2008-2015, Printio (Juriy Zaytsev, Maxim Chernyak) */
var fabric = fabric || { version: "1.7.5" };
var fabric = fabric || { version: "1.7.6" };
if (typeof exports !== 'undefined') {
exports.fabric = fabric;
}

View file

@ -25,7 +25,7 @@ Remove the template from below and provide thoughtful commentary *and code sampl
<!-- BUG TEMPLATE -->
## Version
1.7.5
1.7.6
## Test Case
http://jsfiddle.net/fabricjs/Da7SP/

5
dist/fabric.js vendored
View file

@ -1,7 +1,7 @@
/* build: `node build.js modules=ALL exclude=json,gestures minifier=uglifyjs` */
/*! Fabric.js Copyright 2008-2015, Printio (Juriy Zaytsev, Maxim Chernyak) */
var fabric = fabric || { version: "1.7.5" };
var fabric = fabric || { version: "1.7.6" };
if (typeof exports !== 'undefined') {
exports.fabric = fabric;
}
@ -12690,6 +12690,9 @@ fabric.util.object.extend(fabric.StaticCanvas.prototype, /** @lends fabric.Stati
}
this.clipTo && fabric.util.clipContext(this, ctx);
if (this.objectCaching && (!this.group || this.needsItsOwnCache)) {
if (!this._cacheCanvas) {
this._createCacheCanvas();
}
if (this.isCacheDirty(noTransform)) {
this.statefullCache && this.saveState({ propertySet: 'cacheProperties' });
this.drawObject(this._cacheContext, noTransform);

14
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

@ -1,5 +1,5 @@
var fabric = fabric || {
version: "1.7.5"
version: "1.7.6"
};
if (typeof exports !== "undefined") {
@ -6157,6 +6157,9 @@ fabric.util.object.extend(fabric.StaticCanvas.prototype, {
}
this.clipTo && fabric.util.clipContext(this, ctx);
if (this.objectCaching && (!this.group || this.needsItsOwnCache)) {
if (!this._cacheCanvas) {
this._createCacheCanvas();
}
if (this.isCacheDirty(noTransform)) {
this.statefullCache && this.saveState({
propertySet: "cacheProperties"

View file

@ -2,7 +2,7 @@
"name": "fabric",
"description": "Object model for HTML5 canvas, and SVG-to-canvas parser. Backed by jsdom and node-canvas.",
"homepage": "http://fabricjs.com/",
"version": "1.7.5",
"version": "1.7.6",
"author": "Juriy Zaytsev <kangax@gmail.com>",
"contributors": [
{