Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why. ssh is required to pull this code??? #1143

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
{
"name": "raphael",
"main": "raphael.js",
"dependencies": {
"eve": "https://github.com/adobe-webplatform/eve.git#eef80ed"
},
"devDependencies": {
"requirejs": "~2.1.17"
"requirejs": "~2.1.17",
"eve": "https://github.com/adobe-webplatform/eve.git#eef80ed"
},
"ignore": [
"**/.*",
Expand Down
2 changes: 1 addition & 1 deletion dev/raphael.core.js
Original file line number Diff line number Diff line change
Expand Up @@ -5366,7 +5366,7 @@
| })(Raphael.ninja());
\*/
R.ninja = function () {
oldRaphael.was ? (g.win.Raphael = oldRaphael.is) : delete Raphael;
//oldRaphael.was ? (g.win.Raphael = oldRaphael.is) : delete Raphael;
return R;
};
/*\
Expand Down
5 changes: 4 additions & 1 deletion dev/raphael.svg.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
}
}
$(o, {
fill: "url('" + document.location.origin + document.location.pathname + "#" + id + "')",
fill: "url('" + (document.location.origin || '') + document.location.pathname + "#" + id + "')",
opacity: 1,
"fill-opacity": 1
});
Expand Down Expand Up @@ -477,6 +477,9 @@
if (o._.sx != 1 || o._.sy != 1) {
value /= mmax(abs(o._.sx), abs(o._.sy)) || 1;
}
if (o.paper._vbSize) {
value *= o.paper._vbSize;
}
node.setAttribute(att, value);
if (attrs["stroke-dasharray"]) {
addDashes(o, attrs["stroke-dasharray"], params);
Expand Down
10 changes: 5 additions & 5 deletions dev/raphael.vml.js
Original file line number Diff line number Diff line change
Expand Up @@ -899,9 +899,9 @@
};
R._engine.setViewBox = function (x, y, w, h, fit) {
R.eve("raphael.setViewBox", this, this._viewBox, [x, y, w, h, fit]);
var paperSize = this.getSize(),
width = paperSize.width,
height = paperSize.height,
var width = this.width,
height = this.height,
size = 1 / mmax(w / width, h / height),
H, W;
if (fit) {
H = height / h;
Expand All @@ -917,10 +917,10 @@
this._viewBoxShift = {
dx: -x,
dy: -y,
scale: paperSize
scale: size
};
this.forEach(function (el) {
el.transform("...");
el.transform("");
});
return this;
};
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "raphael",
"version": "2.1.4",
"version": "2.1.4b",
"description": "JavaScript Vector Library",
"main": "raphael.amd.js",
"scripts": {
Expand Down Expand Up @@ -32,6 +32,6 @@
"url": "https://github.com/DmitryBaranovskiy/raphael/issues"
},
"homepage": "https://github.com/DmitryBaranovskiy/raphael",
"_id": "[email protected].4",
"_id": "[email protected].4a",
"_from": "raphael@"
}
9 changes: 4 additions & 5 deletions raphael-min.js

Large diffs are not rendered by default.

9 changes: 4 additions & 5 deletions raphael-nodeps-min.js

Large diffs are not rendered by default.

25 changes: 14 additions & 11 deletions raphael-nodeps.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// ┌────────────────────────────────────────────────────────────────────┐ \\
// │ Raphaël 2.1.4 - JavaScript Vector Library │ \\
// │ Raphaël 2.1.4b - JavaScript Vector Library │ \\
// ├────────────────────────────────────────────────────────────────────┤ \\
// │ Core Module │ \\
// ├────────────────────────────────────────────────────────────────────┤ \\
Expand Down Expand Up @@ -84,7 +84,7 @@
}
}
}
R.version = "2.1.4";
R.version = "2.1.4b";
R.eve = eve;
var loaded,
separator = /[, ]+/,
Expand Down Expand Up @@ -5366,7 +5366,7 @@
| })(Raphael.ninja());
\*/
R.ninja = function () {
oldRaphael.was ? (g.win.Raphael = oldRaphael.is) : delete Raphael;
//oldRaphael.was ? (g.win.Raphael = oldRaphael.is) : delete Raphael;
return R;
};
/*\
Expand Down Expand Up @@ -5414,7 +5414,7 @@
}));

// ┌─────────────────────────────────────────────────────────────────────┐ \\
// │ Raphaël 2.1.4 - JavaScript Vector Library │ \\
// │ Raphaël 2.1.4b - JavaScript Vector Library │ \\
// ├─────────────────────────────────────────────────────────────────────┤ \\
// │ SVG Module │ \\
// ├─────────────────────────────────────────────────────────────────────┤ \\
Expand Down Expand Up @@ -5557,7 +5557,7 @@
}
}
$(o, {
fill: "url('" + document.location.origin + document.location.pathname + "#" + id + "')",
fill: "url('" + (document.location.origin || '') + document.location.pathname + "#" + id + "')",
opacity: 1,
"fill-opacity": 1
});
Expand Down Expand Up @@ -5892,6 +5892,9 @@
if (o._.sx != 1 || o._.sy != 1) {
value /= mmax(abs(o._.sx), abs(o._.sy)) || 1;
}
if (o.paper._vbSize) {
value *= o.paper._vbSize;
}
node.setAttribute(att, value);
if (attrs["stroke-dasharray"]) {
addDashes(o, attrs["stroke-dasharray"], params);
Expand Down Expand Up @@ -6836,7 +6839,7 @@
}));

// ┌─────────────────────────────────────────────────────────────────────┐ \\
// │ Raphaël 2.1.4 - JavaScript Vector Library │ \\
// │ Raphaël 2.1.4b - JavaScript Vector Library │ \\
// ├─────────────────────────────────────────────────────────────────────┤ \\
// │ VML Module │ \\
// ├─────────────────────────────────────────────────────────────────────┤ \\
Expand Down Expand Up @@ -7736,9 +7739,9 @@
};
R._engine.setViewBox = function (x, y, w, h, fit) {
R.eve("raphael.setViewBox", this, this._viewBox, [x, y, w, h, fit]);
var paperSize = this.getSize(),
width = paperSize.width,
height = paperSize.height,
var width = this.width,
height = this.height,
size = 1 / mmax(w / width, h / height),
H, W;
if (fit) {
H = height / h;
Expand All @@ -7754,10 +7757,10 @@
this._viewBoxShift = {
dx: -x,
dy: -y,
scale: paperSize
scale: size
};
this.forEach(function (el) {
el.transform("...");
el.transform("");
});
return this;
};
Expand Down
25 changes: 14 additions & 11 deletions raphael.js
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@
}));

// ┌────────────────────────────────────────────────────────────────────┐ \\
// │ Raphaël 2.1.4 - JavaScript Vector Library │ \\
// │ Raphaël 2.1.4b - JavaScript Vector Library │ \\
// ├────────────────────────────────────────────────────────────────────┤ \\
// │ Core Module │ \\
// ├────────────────────────────────────────────────────────────────────┤ \\
Expand Down Expand Up @@ -466,7 +466,7 @@
}
}
}
R.version = "2.1.4";
R.version = "2.1.4b";
R.eve = eve;
var loaded,
separator = /[, ]+/,
Expand Down Expand Up @@ -5748,7 +5748,7 @@
| })(Raphael.ninja());
\*/
R.ninja = function () {
oldRaphael.was ? (g.win.Raphael = oldRaphael.is) : delete Raphael;
//oldRaphael.was ? (g.win.Raphael = oldRaphael.is) : delete Raphael;
return R;
};
/*\
Expand Down Expand Up @@ -5796,7 +5796,7 @@
}));

// ┌─────────────────────────────────────────────────────────────────────┐ \\
// │ Raphaël 2.1.4 - JavaScript Vector Library │ \\
// │ Raphaël 2.1.4b - JavaScript Vector Library │ \\
// ├─────────────────────────────────────────────────────────────────────┤ \\
// │ SVG Module │ \\
// ├─────────────────────────────────────────────────────────────────────┤ \\
Expand Down Expand Up @@ -5939,7 +5939,7 @@
}
}
$(o, {
fill: "url('" + document.location.origin + document.location.pathname + "#" + id + "')",
fill: "url('" + (document.location.origin || '') + document.location.pathname + "#" + id + "')",
opacity: 1,
"fill-opacity": 1
});
Expand Down Expand Up @@ -6274,6 +6274,9 @@
if (o._.sx != 1 || o._.sy != 1) {
value /= mmax(abs(o._.sx), abs(o._.sy)) || 1;
}
if (o.paper._vbSize) {
value *= o.paper._vbSize;
}
node.setAttribute(att, value);
if (attrs["stroke-dasharray"]) {
addDashes(o, attrs["stroke-dasharray"], params);
Expand Down Expand Up @@ -7218,7 +7221,7 @@
}));

// ┌─────────────────────────────────────────────────────────────────────┐ \\
// │ Raphaël 2.1.4 - JavaScript Vector Library │ \\
// │ Raphaël 2.1.4b - JavaScript Vector Library │ \\
// ├─────────────────────────────────────────────────────────────────────┤ \\
// │ VML Module │ \\
// ├─────────────────────────────────────────────────────────────────────┤ \\
Expand Down Expand Up @@ -8118,9 +8121,9 @@
};
R._engine.setViewBox = function (x, y, w, h, fit) {
R.eve("raphael.setViewBox", this, this._viewBox, [x, y, w, h, fit]);
var paperSize = this.getSize(),
width = paperSize.width,
height = paperSize.height,
var width = this.width,
height = this.height,
size = 1 / mmax(w / width, h / height),
H, W;
if (fit) {
H = height / h;
Expand All @@ -8136,10 +8139,10 @@
this._viewBoxShift = {
dx: -x,
dy: -y,
scale: paperSize
scale: size
};
this.forEach(function (el) {
el.transform("...");
el.transform("");
});
return this;
};
Expand Down