Skip to content
This repository was archived by the owner on Aug 25, 2022. It is now read-only.

Commit c8b3b87

Browse files
committed
Forgot to bind mobile events.
1 parent cefb989 commit c8b3b87

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "wScratchPad",
33
"title": "wScratchPad jQuery Plugin",
4-
"version": "2.0.1",
4+
"version": "2.0.2",
55
"description": "A jQuery plugin to mimic a scratch card or pad behaviour. Allowing you to scratch off an overlay as either a color or image.",
66
"main": "wScratchPad.js",
77
"repository": {

src/wScratchPad.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@
3535
// and better support for mobile if we are resizing the scratch pad.
3636
this.$scratchpad = $(this.canvas).css({position: 'absolute', width: '100%', height: '100%'});
3737

38+
this.$scratchpad.bindMobileEvents();
39+
3840
// Setup event handlers.
3941
this.$scratchpad
4042
.mousedown($.proxy(function (e) {

wScratchPad.jquery.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"canvas",
1010
"html5"
1111
],
12-
"version": "2.0.1",
12+
"version": "2.0.2",
1313
"author": {
1414
"name": "Websanova",
1515
"email": "[email protected]",

wScratchPad.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)