Skip to content

Commit

Permalink
Release v1.3.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
szimek committed Dec 13, 2013
1 parent f755d7d commit 6e2033e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ File.open("signature.png", "wb") { |f| f.write(decoded_image) }
```

## Changelog
### 1.3.2
* Fix `onBegin` and `onEnd` callbacks when passed as options to constructor. [yinsee](https://github.com/yinsee)

### 1.3.1
* Fix handling touch events on mobile IE. [tocsoft](https://github.com/tocsoft)

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.3.1",
"version": "1.3.2",
"homepage": "https://github.com/szimek/signature_pad",
"author": {
"name": "Szymon Nowak",
Expand Down
4 changes: 3 additions & 1 deletion signature_pad.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Signature Pad v1.3.1
* Signature Pad v1.3.2
* https://github.com/szimek/signature_pad
*
* Copyright 2013 Szymon Nowak
Expand Down Expand Up @@ -30,6 +30,8 @@ var SignaturePad = (function (document) {
};
this.penColor = opts.penColor || "black";
this.backgroundColor = opts.backgroundColor || "rgba(0,0,0,0)";
this.onEnd = opts.onEnd;
this.onBegin = opts.onBegin;

this._canvas = canvas;
this._ctx = canvas.getContext("2d");
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 6e2033e

Please sign in to comment.