Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
殷洪(管理员)
/
raphael
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Registry
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
4f5fe864
authored
Mar 09, 2013
by
Tomas Alabes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wrong string comparison in print function
parent
fa6ea627
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
raphael-min.js
+0
-0
raphael.core.js
+1
-1
raphael.js
+4
-4
No files found.
raphael-min.js
View file @
4f5fe864
This source diff could not be displayed because it is too large. You can
view the blob
instead.
raphael.core.js
View file @
4f5fe864
...
...
@@ -5034,7 +5034,7 @@
notfirst
=
0
,
path
=
E
,
scale
;
R
.
is
(
font
,
string
)
&&
(
font
=
this
.
getFont
(
font
));
R
.
is
(
font
,
"string"
)
&&
(
font
=
this
.
getFont
(
font
));
if
(
font
)
{
scale
=
(
size
||
16
)
/
font
.
face
[
"units-per-em"
];
var
bb
=
font
.
face
.
bbox
[
split
](
separator
),
...
...
raphael.js
View file @
4f5fe864
...
...
@@ -3466,7 +3466,7 @@
= (object) data
\*/
elproto
.
getData
=
function
()
{
return
eldata
[
this
.
id
]
||
{}
;
return
clone
(
eldata
[
this
.
id
]
||
{})
;
};
/*\
* Element.hover
...
...
@@ -3893,13 +3893,13 @@
**
> Parameters
**
- bbox (
string
) bbox to check with
- bbox (
object
) bbox to check with
= (object) @Set
\*/
paperproto
.
getElementsByBBox
=
function
(
bbox
)
{
var
set
=
this
.
set
();
this
.
forEach
(
function
(
el
)
{
if
(
R
aphael
.
isBBoxIntersect
(
el
.
getBBox
(),
bbox
))
{
if
(
R
.
isBBoxIntersect
(
el
.
getBBox
(),
bbox
))
{
set
.
push
(
el
);
}
});
...
...
@@ -5414,7 +5414,7 @@
notfirst
=
0
,
path
=
E
,
scale
;
R
.
is
(
font
,
string
)
&&
(
font
=
this
.
getFont
(
font
));
R
.
is
(
font
,
"string"
)
&&
(
font
=
this
.
getFont
(
font
));
if
(
font
)
{
scale
=
(
size
||
16
)
/
font
.
face
[
"units-per-em"
];
var
bb
=
font
.
face
.
bbox
[
split
](
separator
),
...
...
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