mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-05-04 20:04:45 +00:00
Fix object loading yet again
This commit is contained in:
parent
15a6a3c3df
commit
7e9e27aba5
8 changed files with 9 additions and 9 deletions
|
|
@ -1,6 +1,6 @@
|
|||
/*! Fabric.js Copyright 2008-2013, Printio (Juriy Zaytsev, Maxim Chernyak) */
|
||||
|
||||
var fabric = fabric || { version: "1.3.3" };
|
||||
var fabric = fabric || { version: "1.3.4" };
|
||||
if (typeof exports !== 'undefined') {
|
||||
exports.fabric = fabric;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
"name": "fabric.js",
|
||||
"repo": "kangax/fabric.js",
|
||||
"description": "Object model for HTML5 canvas, and SVG-to-canvas parser. Backed by jsdom and node-canvas.",
|
||||
"version": "1.3.3",
|
||||
"version": "1.3.4",
|
||||
"keywords": ["canvas", "graphic", "graphics", "SVG", "node-canvas", "parser", "HTML5", "object model"],
|
||||
"dependencies": {},
|
||||
"development": {},
|
||||
|
|
|
|||
4
dist/all.js
vendored
4
dist/all.js
vendored
|
|
@ -1,7 +1,7 @@
|
|||
/* build: `node build.js modules=ALL exclude=gestures` */
|
||||
/*! Fabric.js Copyright 2008-2013, Printio (Juriy Zaytsev, Maxim Chernyak) */
|
||||
|
||||
var fabric = fabric || { version: "1.3.3" };
|
||||
var fabric = fabric || { version: "1.3.4" };
|
||||
if (typeof exports !== 'undefined') {
|
||||
exports.fabric = fabric;
|
||||
}
|
||||
|
|
@ -2208,7 +2208,7 @@ fabric.Collection = {
|
|||
objects.forEach(function (o, index) {
|
||||
// if sparse array
|
||||
if (!o || !o.type) {
|
||||
numLoadedObjects++;
|
||||
onLoaded();
|
||||
return;
|
||||
}
|
||||
var klass = fabric.util.getKlass(o.type, namespace);
|
||||
|
|
|
|||
2
dist/all.min.js
vendored
2
dist/all.min.js
vendored
File diff suppressed because one or more lines are too long
BIN
dist/all.min.js.gz
vendored
BIN
dist/all.min.js.gz
vendored
Binary file not shown.
4
dist/all.require.js
vendored
4
dist/all.require.js
vendored
|
|
@ -1,7 +1,7 @@
|
|||
/* build: `node build.js modules=ALL exclude=gestures` */
|
||||
/*! Fabric.js Copyright 2008-2013, Printio (Juriy Zaytsev, Maxim Chernyak) */
|
||||
|
||||
var fabric = fabric || { version: "1.3.3" };
|
||||
var fabric = fabric || { version: "1.3.4" };
|
||||
if (typeof exports !== 'undefined') {
|
||||
exports.fabric = fabric;
|
||||
}
|
||||
|
|
@ -2208,7 +2208,7 @@ fabric.Collection = {
|
|||
objects.forEach(function (o, index) {
|
||||
// if sparse array
|
||||
if (!o || !o.type) {
|
||||
numLoadedObjects++;
|
||||
onLoaded();
|
||||
return;
|
||||
}
|
||||
var klass = fabric.util.getKlass(o.type, namespace);
|
||||
|
|
|
|||
|
|
@ -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.3.3",
|
||||
"version": "1.3.4",
|
||||
"author": "Juriy Zaytsev <kangax@gmail.com>",
|
||||
"keywords": ["canvas", "graphic", "graphics", "SVG", "node-canvas", "parser", "HTML5", "object model"],
|
||||
"repository": "git://github.com/kangax/fabric.js",
|
||||
|
|
|
|||
|
|
@ -184,7 +184,7 @@
|
|||
objects.forEach(function (o, index) {
|
||||
// if sparse array
|
||||
if (!o || !o.type) {
|
||||
numLoadedObjects++;
|
||||
onLoaded();
|
||||
return;
|
||||
}
|
||||
var klass = fabric.util.getKlass(o.type, namespace);
|
||||
|
|
|
|||
Loading…
Reference in a new issue