Version 1.0.2

This commit is contained in:
kangax 2013-01-17 19:04:02 +01:00
parent 45f5acb95d
commit 60af92a9c3
6 changed files with 14 additions and 11 deletions

View file

@ -1,6 +1,7 @@
src/
lib/
dist/all.min.js
dist/all.min.js.gz
.DS_Store
HEADER.js
build_docs.js
build.js

View file

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

6
dist/all.js vendored
View file

@ -1,7 +1,7 @@
/* build: `node build.js modules=ALL exclude=gestures` */
/*! Fabric.js Copyright 2008-2012, Printio (Juriy Zaytsev, Maxim Chernyak) */
var fabric = fabric || { version: "1.0.1" };
var fabric = fabric || { version: "1.0.2" };
if (typeof exports !== 'undefined') {
exports.fabric = fabric;
@ -8049,7 +8049,8 @@ fabric.util.string = {
if (this.controlsAboveOverlay &&
this.lastRenderedObjectWithControlsAboveOverlay &&
this.containsPoint(e, this.lastRenderedObjectWithControlsAboveOverlay)) {
this.containsPoint(e, this.lastRenderedObjectWithControlsAboveOverlay) &&
this.lastRenderedObjectWithControlsAboveOverlay._findTargetCorner(e, this._offset)) {
target = this.lastRenderedObjectWithControlsAboveOverlay;
return target;
}
@ -8373,6 +8374,7 @@ fabric.util.string = {
*/
fabric.Element = fabric.Canvas;
})();
fabric.util.object.extend(fabric.StaticCanvas.prototype, {
/**

8
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.

View file

@ -1,7 +1,7 @@
{
"name": "fabric",
"description": "Object model for HTML5 canvas, and SVG-to-canvas parser. Backed by jsdom and node-canvas.",
"version": "1.0.1",
"version": "1.0.2",
"author": "Juriy Zaytsev <kangax@gmail.com>",
"keywords": ["canvas", "graphic", "graphics", "SVG", "node-canvas", "parser", "HTML5", "object model"],
"repository": "git://github.com/kangax/fabric.js",
@ -10,7 +10,7 @@
"url": "http://github.com/kangax/fabric.js/raw/master/LICENSE"
}],
"scripts": {
"build": "node build.js modules=ALL exclude=json,cufon",
"build": "node build.js modules=ALL exclude=json,cufon,gestures",
"test": "node test.js"
},
"dependencies": {
@ -23,6 +23,6 @@
"jshint": "0.9.x",
"uglify-js": "1.3.x"
},
"engines": { "node": ">=0.4.0 && <0.9.0" },
"engines": { "node": ">=0.4.0 && <1.0.0" },
"main": "./dist/all.js"
}