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
e5856252
authored
12 years ago
by
Tomas Alabes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated satellital files from previous commit
parent
8fa2f326
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
raphael-min.js
+0
-0
raphael.core.js
+8
-2
No files found.
raphael-min.js
View file @
e5856252
This source diff could not be displayed because it is too large. You can
view the blob
instead.
This diff is collapsed.
Click to expand it.
raphael.core.js
View file @
e5856252
...
...
@@ -279,6 +279,10 @@
text
:
function
(
el
)
{
var
bbox
=
el
.
_getBBox
();
return
rectPath
(
bbox
.
x
,
bbox
.
y
,
bbox
.
width
,
bbox
.
height
);
},
set
:
function
(
el
)
{
var
bbox
=
el
.
_getBBox
();
return
rectPath
(
bbox
.
x
,
bbox
.
y
,
bbox
.
width
,
bbox
.
height
);
}
},
/*\
...
...
@@ -1574,7 +1578,7 @@
var
pathDimensions
=
R
.
pathBBox
=
function
(
path
)
{
var
pth
=
paths
(
path
);
if
(
pth
.
bbox
)
{
return
pth
.
bbox
;
return
clone
(
pth
.
bbox
)
;
}
if
(
!
path
)
{
return
{
x
:
0
,
y
:
0
,
width
:
0
,
height
:
0
,
x2
:
0
,
y2
:
0
};
...
...
@@ -3351,6 +3355,8 @@
!
R
.
is
(
itemsArray
,
"array"
)
&&
(
itemsArray
=
Array
.
prototype
.
splice
.
call
(
arguments
,
0
,
arguments
.
length
));
var
out
=
new
Set
(
itemsArray
);
this
.
__set__
&&
this
.
__set__
.
push
(
out
);
out
[
"paper"
]
=
this
;
out
[
"type"
]
=
"set"
;
return
out
;
};
/*\
...
...
@@ -4846,7 +4852,7 @@
};
};
setproto
.
clone
=
function
(
s
)
{
s
=
new
Set
;
s
=
this
.
paper
.
set
()
;
for
(
var
i
=
0
,
ii
=
this
.
items
.
length
;
i
<
ii
;
i
++
)
{
s
.
push
(
this
.
items
[
i
].
clone
());
}
...
...
This diff is collapsed.
Click to expand it.
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