added line dash support for firefox and safari

This commit is contained in:
Eric Rowell 2013-01-28 22:38:22 -08:00
parent 79fecd2c13
commit dde4235301

View File

@ -297,6 +297,12 @@
if(context.setLineDash) {
context.setLineDash(dashArray);
}
else if('mozDash' in context) {
context.mozDash = dashArray;
}
else if('webkitLineDash' in context) {
context.webkitLineDash = dashArray;
}
}
if(!skipShadow && shape.hasShadow()) {
this._applyShadow(shape);