Skip to content
Browse files

Allow unsetting the stroke-dasharray in VML. Fixes #617.

  • Loading branch information...
1 parent b003c54 commit 007ee4f4315d9e9d693be08715d18eccc651925b @TheCloudlessSky TheCloudlessSky committed Feb 21, 2014
Showing with 3 additions and 3 deletions.
  1. +1 −1 dev/raphael.vml.js
  2. +1 −1 raphael-min.js
  3. +1 −1 raphael.js
View
2 dev/raphael.vml.js
@@ -306,7 +306,7 @@ window.Raphael && window.Raphael.vml && function(R) {
params["stroke-linejoin"] && (stroke.joinstyle = params["stroke-linejoin"] || "miter");
stroke.miterlimit = params["stroke-miterlimit"] || 8;
params["stroke-linecap"] && (stroke.endcap = params["stroke-linecap"] == "butt" ? "flat" : params["stroke-linecap"] == "square" ? "square" : "round");
- if (params["stroke-dasharray"]) {
+ if ("stroke-dasharray" in params) {
var dasharray = {
"-": "shortdash",
".": "shortdot",
View
2 raphael-min.js
1 addition, 1 deletion not shown because the diff is too large. Please use a local Git client to view these changes.
View
2 raphael.js
@@ -7433,7 +7433,7 @@
params["stroke-linejoin"] && (stroke.joinstyle = params["stroke-linejoin"] || "miter");
stroke.miterlimit = params["stroke-miterlimit"] || 8;
params["stroke-linecap"] && (stroke.endcap = params["stroke-linecap"] == "butt" ? "flat" : params["stroke-linecap"] == "square" ? "square" : "round");
- if (params["stroke-dasharray"]) {
+ if ("stroke-dasharray" in params) {
var dasharray = {
"-": "shortdash",
".": "shortdot",

0 comments on commit 007ee4f

Please sign in to comment.
Something went wrong with that request. Please try again.