-
Notifications
You must be signed in to change notification settings - Fork 290
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed a bug related to trim() for IE8.
- Loading branch information
1 parent
4fafa7a
commit 33ebe1e
Showing
6 changed files
with
25 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,50 @@ | ||
# Signature Pad | ||
SignaturePad: A jQuery plugin for assisting in the creation of an HTML5 canvas based signature pad. Records the drawn signature in JSON for later regeneration. | ||
|
||
Copyright MMXI, Thomas J Bradley, <[email protected]> | ||
SignaturePad: A jQuery plugin for assisting in the creation of an HTML5 canvas based signature pad. Records the drawn signature in JSON for later regeneration. | ||
|
||
Dependencies: FlashCanvas/1.5, json2.js, jQuery/1.3.2+ | ||
• Dependencies: FlashCanvas/1.5, json2.js, jQuery/1.3.2+ | ||
• Browser support: IE 6+, FF 3+, Safari 3+, Chrome, Opera 9+ | ||
|
||
Versioned using Semantic Versioning, <http://semver.org/> | ||
--- | ||
|
||
## Quick Start | ||
|
||
1. Include `jquery.signaturepad.css`, `flashcanvas.js`, `jquery.js`, `jquery.signaturepad.js`, `json2.js` in your HTML file | ||
2. Create the HTML, following the example: <https://github.com/thomasjbradley/signature-pad/blob/master/examples/accept-signature.html> | ||
3. `$('.sigPad').signaturePad();` | ||
4. Remember that [most things are configurable](http://thomasjbradley.ca/lab/signature-pad#options) | ||
|
||
## Complete Documentation | ||
|
||
<http://thomasjbradley.ca/lab/signature-pad> | ||
|
||
## Examples | ||
|
||
- [Accepting a Signature](https://github.com/thomasjbradley/signature-pad/blob/master/examples/accept-signature.html) | ||
- [Requiring a Drawn Signature](https://github.com/thomasjbradley/signature-pad/blob/master/examples/require-drawn-signature.html) | ||
- [Regenerating a Signature](https://github.com/thomasjbradley/signature-pad/blob/master/examples/regenerate-signature.html) | ||
- [Accepting Multiple Signatures](https://github.com/thomasjbradley/signature-pad/blob/master/examples/accept-multiple-signatures.html) | ||
|
||
## Demos | ||
|
||
- [Accepting a Signature](http://thomasjbradley.ca/lab/signature-pad-accept) | ||
- [Requiring a Drawn Signature](http://thomasjbradley.ca/lab/signature-pad-require-drawn) | ||
- [Regenerating a Signature](http://thomasjbradley.ca/lab/signature-pad-regenerate) | ||
|
||
## Converting to an Image | ||
|
||
<http://thomasjbradley.ca/lab/signature-pad/#images> | ||
|
||
## Source Code | ||
|
||
<http://github.com/thomasjbradley/signature-pad> | ||
|
||
--- | ||
|
||
## License | ||
|
||
© 2014, Thomas J Bradley, <[email protected]> | ||
|
||
Signature Pad is licensed under the [New BSD license](https://github.com/thomasjbradley/signature-pad/blob/master/NEW-BSD-LICENSE.txt). | ||
|
||
All dependencies: jQuery, json2.js, and FlashCanvas retain their own licenses. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters