Skip to content

Commit

Permalink
Release 1.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
szimek committed Oct 5, 2015
1 parent ebce49d commit 4dae7f4
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ file_put_contents( "signature.png",$decoded_image);
```

## Changelog
### 1.5.1
* Prevent duplicate events on tap in iOS Safari. [PerfectPixel](https://github.com/PerfectPixel)

### 1.5.0
* Add `on` method that rebinds all event handlers. [Alplob](https://github.com/Alplob)

Expand Down
3 changes: 2 additions & 1 deletion example/js/signature_pad.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
}(this, function () {

/*!
* Signature Pad v1.5.0
* Signature Pad v1.5.1
* https://github.com/szimek/signature_pad
*
* Copyright 2015 Szymon Nowak
Expand Down Expand Up @@ -91,6 +91,7 @@ var SignaturePad = (function (document) {
this._handleTouchEnd = function (event) {
var wasCanvasTouched = event.target === self._canvas;
if (wasCanvasTouched) {
event.preventDefault();
self._strokeEnd(event);
}
};
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "signature_pad",
"description": "Library for drawing smooth signatures.",
"version": "1.5.0",
"version": "1.5.1",
"homepage": "https://github.com/szimek/signature_pad",
"author": {
"name": "Szymon Nowak",
Expand Down
3 changes: 2 additions & 1 deletion signature_pad.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
}(this, function () {

/*!
* Signature Pad v1.5.0
* Signature Pad v1.5.1
* https://github.com/szimek/signature_pad
*
* Copyright 2015 Szymon Nowak
Expand Down Expand Up @@ -91,6 +91,7 @@ var SignaturePad = (function (document) {
this._handleTouchEnd = function (event) {
var wasCanvasTouched = event.target === self._canvas;
if (wasCanvasTouched) {
event.preventDefault();
self._strokeEnd(event);
}
};
Expand Down
4 changes: 2 additions & 2 deletions signature_pad.min.js

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

0 comments on commit 4dae7f4

Please sign in to comment.