Skip to content

Commit

Permalink
Fix bug affecting strokeDash property on Firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
caleb531 committed Apr 1, 2016
1 parent 4f07419 commit f31504e
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion bower.json
@@ -1,6 +1,6 @@
{
"name": "jcanvas",
"version": "16.02.09",
"version": "16.04.01",
"main": "jcanvas.js",
"description": "jCanvas brings jQuery's powerful syntax and capability to the HTML5 canvas. Quickly create canvas-based apps that can utilize layers, animations, events, and much more. jCanvas works on all modern browsers and platforms, including iOS and Android.",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion jcanvas.jquery.json
@@ -1,7 +1,7 @@
{
"name": "jcanvas",
"title": "jCanvas",
"version": "16.02.09",
"version": "16.04.01",
"author": {
"name": "Caleb Evans",
"email": "caleb@calebevans.me",
Expand Down
4 changes: 2 additions & 2 deletions jcanvas.js
@@ -1,5 +1,5 @@
/**
* @license jCanvas v16.02.09
* @license jCanvas v16.04.01
* Copyright 2016 Caleb Evans
* Released under the MIT license
*/
Expand Down Expand Up @@ -299,7 +299,7 @@ function _setGlobalProps( canvas, ctx, params ) {
if ( ctx.setLineDash ) {
ctx.setLineDash( params.strokeDash );
}
ctx.webkitLineDash = ctx.mozDash = params.strokeDash;
ctx.webkitLineDash = params.strokeDash;
ctx.lineDashOffset = ctx.webkitLineDashOffset = ctx.mozDashOffset = params.strokeDashOffset;
// Drop shadow
ctx.shadowOffsetX = params.shadowX;
Expand Down
6 changes: 3 additions & 3 deletions jcanvas.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -2,7 +2,7 @@
"name": "jcanvas",
"title": "jCanvas",
"description": "jCanvas brings jQuery's powerful syntax and capability to the HTML5 canvas. Quickly create canvas-based apps that can utilize layers, animations, events, and much more. jCanvas works on all modern browsers and platforms, including iOS and Android.",
"version": "16.02.09",
"version": "16.04.01",
"main": "jcanvas.js",
"homepage": "http://projects.calebevans.me/jcanvas/",
"author": {
Expand Down

0 comments on commit f31504e

Please sign in to comment.