Skip to content

Commit

Permalink
Merge pull request #2 from MarceloCajueiro/readme
Browse files Browse the repository at this point in the history
Add a simple README to explain this plugin
  • Loading branch information
sobrinho committed May 25, 2012
2 parents 9da4fb1 + fbfae42 commit f4273f8
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.markdown
@@ -0,0 +1,13 @@
Usage
=====

Put a regular expression as a argument on singlemask then only characters in accord of the regexp will be used.

Example
-------

To the input receive only integers:

```js
$('input.integer').singlemask(/\d/);
```

0 comments on commit f4273f8

Please sign in to comment.