Permalink
Browse files

Merge pull request #2 from MarceloCajueiro/readme

Add a simple README to explain this plugin
  • Loading branch information...
2 parents 9da4fb1 + fbfae42 commit f4273f85f726367cd7e02074af072db8ca9a426d @sobrinho committed May 25, 2012
Showing with 13 additions and 0 deletions.
  1. +13 −0 README.markdown
View
@@ -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.