Skip to content

Commit

Permalink
Added: A small property to store the version inside the library.
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasjbradley committed Sep 27, 2013
1 parent 59ab282 commit 799d544
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion jquery.signaturepad.js
Expand Up @@ -718,10 +718,15 @@ function SignaturePad (selector, options) {
}

$.extend(self, {
/**
* A property to store the current version of Signature Pad
*/
signaturePad : '{{version}}'

/**
* Initializes SignaturePad
*/
init : function () { init() }
, init : function () { init() }

/**
* Allows options to be updated after initialization
Expand Down

1 comment on commit 799d544

@madmanpierre
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes that looks like it would work perfect/consistent.

Please sign in to comment.