Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
raphael
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nhn
raphael
Commits
076969f2
Commit
076969f2
authored
Aug 26, 2013
by
Dmitry Baranovskiy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2.1.2
parent
2cec9462
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
33 additions
and
16 deletions
+33
-16
README.markdown
README.markdown
+2
-2
package.json
dev/package.json
+1
-1
raphael.core.js
dev/raphael.core.js
+7
-7
history.md
history.md
+17
-0
raphael-min.js
raphael-min.js
+1
-1
raphael.js
raphael.js
+5
-5
No files found.
README.markdown
View file @
076969f2
...
...
@@ -70,8 +70,8 @@ Remember to add all the info that can be useful such as
## Copyright and license
Copyright © 2008-201
2
Dmitry Baranovskiy (http://raphaeljs.com)
Copyright © 2008-201
3
Dmitry Baranovskiy (http://raphaeljs.com)
Copyright © 2008-201
2
Sencha Labs (http://sencha.com)
Copyright © 2008-201
3
Sencha Labs (http://sencha.com)
Licensed under the
**MIT**
(http://raphaeljs.com/license.html) license.
\ No newline at end of file
dev/package.json
View file @
076969f2
{
"name"
:
"raphael"
,
"version"
:
"2.1.
1
"
,
"version"
:
"2.1.
2
"
,
"description"
:
"JavaScript Vector Library"
,
"main"
:
"raphael.js"
,
"scripts"
:
{
...
...
dev/raphael.core.js
View file @
076969f2
// ┌─────────────────────────────────────────────────────────────────────┐ \\
// │ "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.00
1
)
{
if
(
justCount
)
{
res
++
;
}
else
{
res
.
push
({
x
:
is
.
x
,
y
:
is
.
y
,
t1
:
t1
,
t2
:
t2
t1
:
mmin
(
t1
,
1
)
,
t2
:
mmin
(
t2
,
1
)
});
}
}
...
...
history.md
View file @
076969f2
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
------------------
...
...
raphael-min.js
View file @
076969f2
This source diff could not be displayed because it is too large. You can
view the blob
instead.
raphael.js
View file @
076969f2
...
...
@@ -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.00
1
)
{
if
(
justCount
)
{
res
++
;
}
else
{
res
.
push
({
x
:
is
.
x
,
y
:
is
.
y
,
t1
:
t1
,
t2
:
t2
t1
:
mmin
(
t1
,
1
)
,
t2
:
mmin
(
t2
,
1
)
});
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment