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
7b67a148
Commit
7b67a148
authored
Dec 28, 2013
by
Tomas Alabes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
IE 11 parentElement fix
parent
b5bca4b8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
13 deletions
+27
-13
raphael.svg.js
dev/raphael.svg.js
+11
-4
eve
eve
+1
-1
raphael-min.js
raphael-min.js
+3
-3
raphael.js
raphael.js
+12
-5
No files found.
dev/raphael.svg.js
View file @
7b67a148
...
@@ -908,10 +908,17 @@ window.Raphael && window.Raphael.svg && function(R) {
...
@@ -908,10 +908,17 @@ window.Raphael && window.Raphael.svg && function(R) {
var
hide
=
true
;
var
hide
=
true
;
}
}
var
canvasHidden
=
false
,
var
canvasHidden
=
false
,
containerStyle
=
this
.
paper
.
canvas
.
parentElement
.
style
;
containerStyle
;
if
(
containerStyle
.
display
==
"none"
){
if
(
this
.
paper
.
canvas
.
parentElement
)
{
canvasHidden
=
true
;
containerStyle
=
this
.
paper
.
canvas
.
parentElement
.
style
;
containerStyle
.
display
=
""
;
}
//IE10+ can't find parentElement
else
if
(
this
.
paper
.
canvas
.
parentNode
)
{
containerStyle
=
this
.
paper
.
canvas
.
parentNode
.
style
;
}
if
(
containerStyle
&&
containerStyle
.
display
==
"none"
)
{
canvasHidden
=
true
;
containerStyle
.
display
=
""
;
}
}
var
bbox
=
{};
var
bbox
=
{};
try
{
try
{
...
...
eve
@
42374a78
Subproject commit
eef80ed8d188423c2272746fb8ae5cc8dad84cb
1
Subproject commit
42374a7804189a8e6dcc30675842888a8ce6e74
1
raphael-min.js
View file @
7b67a148
This source diff could not be displayed because it is too large. You can
view the blob
instead.
raphael.js
View file @
7b67a148
...
@@ -376,7 +376,7 @@
...
@@ -376,7 +376,7 @@
return
"You are running Eve "
+
version
;
return
"You are running Eve "
+
version
;
};
};
(
typeof
module
!=
"undefined"
&&
module
.
exports
)
?
(
module
.
exports
=
eve
)
:
(
typeof
define
!=
"undefined"
?
(
define
(
"eve"
,
[],
function
()
{
return
eve
;
}))
:
(
glob
.
eve
=
eve
));
(
typeof
module
!=
"undefined"
&&
module
.
exports
)
?
(
module
.
exports
=
eve
)
:
(
typeof
define
!=
"undefined"
?
(
define
(
"eve"
,
[],
function
()
{
return
eve
;
}))
:
(
glob
.
eve
=
eve
));
})(
this
);
})(
window
||
this
);
// ┌─────────────────────────────────────────────────────────────────────┐ \\
// ┌─────────────────────────────────────────────────────────────────────┐ \\
// │ "Raphaël 2.1.0" - JavaScript Vector Library │ \\
// │ "Raphaël 2.1.0" - JavaScript Vector Library │ \\
// ├─────────────────────────────────────────────────────────────────────┤ \\
// ├─────────────────────────────────────────────────────────────────────┤ \\
...
@@ -6708,10 +6708,17 @@
...
@@ -6708,10 +6708,17 @@
var
hide
=
true
;
var
hide
=
true
;
}
}
var
canvasHidden
=
false
,
var
canvasHidden
=
false
,
containerStyle
=
this
.
paper
.
canvas
.
parentElement
.
style
;
containerStyle
;
if
(
containerStyle
.
display
==
"none"
){
if
(
this
.
paper
.
canvas
.
parentElement
)
{
canvasHidden
=
true
;
containerStyle
=
this
.
paper
.
canvas
.
parentElement
.
style
;
containerStyle
.
display
=
""
;
}
//IE10+ can't find parentElement
else
if
(
this
.
paper
.
canvas
.
parentNode
)
{
containerStyle
=
this
.
paper
.
canvas
.
parentNode
.
style
;
}
if
(
containerStyle
&&
containerStyle
.
display
==
"none"
)
{
canvasHidden
=
true
;
containerStyle
.
display
=
""
;
}
}
var
bbox
=
{};
var
bbox
=
{};
try
{
try
{
...
...
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