Commit 076969f2 by Dmitry Baranovskiy

2.1.2

parent 2cec9462
......@@ -70,8 +70,8 @@ Remember to add all the info that can be useful such as
## Copyright and license
Copyright © 2008-2012 Dmitry Baranovskiy (http://raphaeljs.com)
Copyright © 2008-2013 Dmitry Baranovskiy (http://raphaeljs.com)
Copyright © 2008-2012 Sencha Labs (http://sencha.com)
Copyright © 2008-2013 Sencha Labs (http://sencha.com)
Licensed under the **MIT** (http://raphaeljs.com/license.html) license.
\ No newline at end of file
{
"name": "raphael",
"version": "2.1.1",
"version": "2.1.2",
"description": "JavaScript Vector Library",
"main": "raphael.js",
"scripts": {
......
// ┌─────────────────────────────────────────────────────────────────────┐ \\
// │ "Raphaël 2.1.0" - JavaScript Vector Library │ \\
// │ "Raphaël 2.1.2" - JavaScript Vector Library │ \\
// ├─────────────────────────────────────────────────────────────────────┤ \\
// │ Copyright (c) 2008-2011 Dmitry Baranovskiy (http://raphaeljs.com) │ \\
// │ Copyright (c) 2008-2011 Sencha Labs (http://sencha.com) │ \\
......@@ -86,7 +86,7 @@
}
}
}
R.version = "2.1.0";
R.version = "2.1.2";
R.eve = eve;
var loaded,
separator = /[, ]+/,
......@@ -1416,8 +1416,8 @@
}
var l1 = bezlen.apply(0, bez1),
l2 = bezlen.apply(0, bez2),
n1 = ~~(l1 / 5),
n2 = ~~(l2 / 5),
n1 = mmax(~~(l1 / 5), 1),
n2 = mmax(~~(l2 / 5), 1),
dots1 = [],
dots2 = [],
xy = {},
......@@ -1446,15 +1446,15 @@
xy[is.x.toFixed(4)] = is.y.toFixed(4);
var t1 = di.t + abs((is[ci] - di[ci]) / (di1[ci] - di[ci])) * (di1.t - di.t),
t2 = dj.t + abs((is[cj] - dj[cj]) / (dj1[cj] - dj[cj])) * (dj1.t - dj.t);
if (t1 >= 0 && t1 <= 1 && t2 >= 0 && t2 <= 1) {
if (t1 >= 0 && t1 <= 1.001 && t2 >= 0 && t2 <= 1.001) {
if (justCount) {
res++;
} else {
res.push({
x: is.x,
y: is.y,
t1: t1,
t2: t2
t1: mmin(t1, 1),
t2: mmin(t2, 1)
});
}
}
......
2.1.2 • 2013-08-26
------------------
* isPointInside fix from @drbombay14
* Allow Raphael to work in pages with a Content Security Policy that disallows 'unsafe-eval'
2.1.1 • 2013-08-11
------------------
* Dragging Text under iOS By @vitorhsb
* Dev folder
* Fix to make IE9 display tooltips when setting the title attribute on an element. By @samcrang
* Fix Wrong position after scale path in IE. By @sarvaje
* isPointInside incorrectly caches the path used to calculate its value. By @lvanderbijl
* Raphael.path2curve does not honor original shape. By @timo22345
* IsPointInside fix for transformed paths
2.1.0 • 2012-03-14
------------------
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -1795,8 +1795,8 @@
}
var l1 = bezlen.apply(0, bez1),
l2 = bezlen.apply(0, bez2),
n1 = ~~(l1 / 5),
n2 = ~~(l2 / 5),
n1 = mmax(~~(l1 / 5), 1),
n2 = mmax(~~(l2 / 5), 1),
dots1 = [],
dots2 = [],
xy = {},
......@@ -1825,15 +1825,15 @@
xy[is.x.toFixed(4)] = is.y.toFixed(4);
var t1 = di.t + abs((is[ci] - di[ci]) / (di1[ci] - di[ci])) * (di1.t - di.t),
t2 = dj.t + abs((is[cj] - dj[cj]) / (dj1[cj] - dj[cj])) * (dj1.t - dj.t);
if (t1 >= 0 && t1 <= 1 && t2 >= 0 && t2 <= 1) {
if (t1 >= 0 && t1 <= 1.001 && t2 >= 0 && t2 <= 1.001) {
if (justCount) {
res++;
} else {
res.push({
x: is.x,
y: is.y,
t1: t1,
t2: t2
t1: mmin(t1, 1),
t2: mmin(t2, 1)
});
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment