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
d8f7740f
Commit
d8f7740f
authored
Aug 04, 2011
by
Dmitry Baranovskiy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes for VML missing methods
Split issues
parent
68cabfae
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
11 deletions
+8
-11
raphael-min.js
raphael-min.js
+1
-1
raphael.core.js
raphael.core.js
+0
-2
raphael.js
raphael.js
+5
-6
raphael.vml.js
raphael.vml.js
+2
-2
No files found.
raphael-min.js
View file @
d8f7740f
This source diff could not be displayed because it is too large. You can
view the blob
instead.
raphael.core.js
View file @
d8f7740f
...
...
@@ -493,7 +493,6 @@
initWin
(
g
.
win
);
}
};
// colour utilities
var
toHex
=
function
(
color
)
{
if
(
R
.
vml
)
{
// http://dean.edwards.name/weblog/2009/10/convert-any-colour-value-to-hex-in-msie/
...
...
@@ -2122,7 +2121,6 @@
paperproto
.
safari
=
fun
;
}
// Events
var
preventDefault
=
function
()
{
this
.
returnValue
=
false
;
},
...
...
raphael.js
View file @
d8f7740f
...
...
@@ -532,7 +532,6 @@
initWin
(
g
.
win
);
}
};
// colour utilities
var
toHex
=
function
(
color
)
{
if
(
R
.
vml
)
{
// http://dean.edwards.name/weblog/2009/10/convert-any-colour-value-to-hex-in-msie/
...
...
@@ -1820,7 +1819,6 @@
paperproto
.
safari
=
fun
;
}
// Events
var
preventDefault
=
function
()
{
this
.
returnValue
=
false
;
},
...
...
@@ -3091,6 +3089,7 @@
return
"Rapha
\
xebl
\
u2018s set"
;
};
R
.
registerFont
=
function
(
font
)
{
if
(
!
font
.
face
)
{
return
font
;
...
...
@@ -3130,6 +3129,7 @@
}
return
font
;
};
paperproto
.
getFont
=
function
(
family
,
weight
,
style
,
stretch
)
{
stretch
=
stretch
||
"normal"
;
style
=
style
||
"normal"
;
...
...
@@ -3158,6 +3158,7 @@
}
return
thefont
;
};
paperproto
.
print
=
function
(
x
,
y
,
string
,
font
,
size
,
origin
,
letter_spacing
)
{
origin
=
origin
||
"middle"
;
// baseline|middle
letter_spacing
=
mmax
(
mmin
(
letter_spacing
||
0
,
1
),
-
1
);
...
...
@@ -3270,7 +3271,6 @@ window.Raphael.svg && function (R) {
eve
=
R
.
eve
,
E
=
""
,
S
=
" "
;
// SVG
var
xlink
=
"http://www.w3.org/1999/xlink"
,
markers
=
{
block
:
"M5,0 0,2.5 5,5z"
,
...
...
@@ -3808,7 +3808,6 @@ window.Raphael.svg && function (R) {
tuneText
(
o
,
params
);
node
.
style
.
visibility
=
vis
;
console
.
log
(
"new"
);
},
leading
=
1.2
,
tuneText
=
function
(
el
,
params
)
{
...
...
@@ -4988,7 +4987,7 @@ window.Raphael.vml && function (R) {
};
elproto
.
toFront
=
function
()
{
!
this
.
removed
&&
this
.
node
.
parentNode
.
appendChild
(
this
.
node
);
this
.
paper
&&
this
.
paper
.
top
!=
this
&&
tofront
(
this
,
this
.
paper
);
this
.
paper
&&
this
.
paper
.
top
!=
this
&&
R
.
_
tofront
(
this
,
this
.
paper
);
return
this
;
};
elproto
.
toBack
=
function
()
{
...
...
@@ -4997,7 +4996,7 @@ window.Raphael.vml && function (R) {
}
if
(
this
.
node
.
parentNode
.
firstChild
!=
this
.
node
)
{
this
.
node
.
parentNode
.
insertBefore
(
this
.
node
,
this
.
node
.
parentNode
.
firstChild
);
toback
(
this
,
this
.
paper
);
R
.
_
toback
(
this
,
this
.
paper
);
}
return
this
;
};
...
...
raphael.vml.js
View file @
d8f7740f
...
...
@@ -656,7 +656,7 @@ window.Raphael.vml && function (R) {
};
elproto
.
toFront
=
function
()
{
!
this
.
removed
&&
this
.
node
.
parentNode
.
appendChild
(
this
.
node
);
this
.
paper
&&
this
.
paper
.
top
!=
this
&&
tofront
(
this
,
this
.
paper
);
this
.
paper
&&
this
.
paper
.
top
!=
this
&&
R
.
_
tofront
(
this
,
this
.
paper
);
return
this
;
};
elproto
.
toBack
=
function
()
{
...
...
@@ -665,7 +665,7 @@ window.Raphael.vml && function (R) {
}
if
(
this
.
node
.
parentNode
.
firstChild
!=
this
.
node
)
{
this
.
node
.
parentNode
.
insertBefore
(
this
.
node
,
this
.
node
.
parentNode
.
firstChild
);
toback
(
this
,
this
.
paper
);
R
.
_
toback
(
this
,
this
.
paper
);
}
return
this
;
};
...
...
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