Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

return not empty string but Raphael object if browser does not support svg and vml #1024

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
return not empty string but Raphael object if browser does not suppor…
…t svg and vml
a-pertsev committed May 31, 2016
commit 20198c3f2c39ff98a6bcddd08720e0a4e70153ea
3 changes: 2 additions & 1 deletion dev/raphael.core.js
Original file line number Diff line number Diff line change
@@ -323,7 +323,8 @@ define(["eve"], function(eve) {
b = d.firstChild;
b.style.behavior = "url(#default#VML)";
if (!(b && typeof b.adj == "object")) {
return (R.type = E);
R.type = E;
return R;
}
d = null;
}
11 changes: 11 additions & 0 deletions raphael-min.js

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions raphael-nodeps-min.js

Large diffs are not rendered by default.

7,897 changes: 7,897 additions & 0 deletions raphael-nodeps.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion raphael.js
Original file line number Diff line number Diff line change
@@ -398,7 +398,8 @@ return /******/ (function(modules) { // webpackBootstrap
b = d.firstChild;
b.style.behavior = "url(#default#VML)";
if (!(b && typeof b.adj == "object")) {
return (R.type = E);
R.type = E;
return R;
}
d = null;
}
4 changes: 2 additions & 2 deletions raphael.min.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion raphael.no-deps.js
Original file line number Diff line number Diff line change
@@ -398,7 +398,8 @@ return /******/ (function(modules) { // webpackBootstrap
b = d.firstChild;
b.style.behavior = "url(#default#VML)";
if (!(b && typeof b.adj == "object")) {
return (R.type = E);
R.type = E;
return R;
}
d = null;
}
2 changes: 1 addition & 1 deletion raphael.no-deps.min.js

Large diffs are not rendered by default.