Skip to content

Commit

Permalink
Merge branch 'issue/#10' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
James Warwood committed Mar 5, 2015
2 parents eb0a1ea + 484ceb7 commit f3b0070
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
7 changes: 5 additions & 2 deletions dist/jquery.awesome-cursor.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*! jquery-awesome-cursor - v0.1.0 - 2014-12-17
/*! jquery-awesome-cursor - v0.1.0 - 2015-03-05
* https://jwarby.github.io/jquery-awesome-cursor
* Copyright (c) 2014 James Warwood; Licensed MIT */
* Copyright (c) 2015 James Warwood; Licensed MIT */
;(function(global, factory) {
if (typeof define === 'function' && define.amd) {
define(['jquery'], factory);
Expand Down Expand Up @@ -199,6 +199,9 @@
context = canvas.getContext('2d');
}

// Firefox wraps the extracted unicode value in quotation marks - #10
unicode = unicode.replace(/"/g, '');

// Draw the cursor to the canvas
context.fillStyle = options.color;
context.font = options.size + 'px ' + options.font.family;
Expand Down
6 changes: 3 additions & 3 deletions dist/jquery.awesome-cursor.min.js

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

3 changes: 3 additions & 0 deletions src/jquery.awesome-cursor.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,9 @@
context = canvas.getContext('2d');
}

// Firefox wraps the extracted unicode value in quotation marks - #10
unicode = unicode.replace(/"/g, '');

// Draw the cursor to the canvas
context.fillStyle = options.color;
context.font = options.size + 'px ' + options.font.family;
Expand Down

0 comments on commit f3b0070

Please sign in to comment.