|
|
@@ -32,8 +32,6 @@ Demo page see [http://robinherbots.github.io/jquery.inputmask](http://robinherbo
|
|
|
## Usage:
|
|
|
Include the js-files which you can find in the dist-folder.
|
|
|
|
|
|
-If you use a module loader like requireJS, use the js-files in dist/inputmask
|
|
|
-
|
|
|
The minimum to include is inputmask.js && jquery.inputmask.js
|
|
|
|
|
|
```html
|
|
|
@@ -42,6 +40,17 @@ The minimum to include is inputmask.js && jquery.inputmask.js
|
|
|
<script src="jquery.inputmask.js" type="text/javascript"></script>
|
|
|
```
|
|
|
|
|
|
+If you use a module loader like requireJS, use the js-files in dist/inputmask
|
|
|
+
|
|
|
+```javascript
|
|
|
+paths: {
|
|
|
+ ...
|
|
|
+ "dependencyLib": "../dist/inputmask/dependencyLib",
|
|
|
+ "inputmask": "../dist/inputmask/inputmask",
|
|
|
+ ...
|
|
|
+}
|
|
|
+```
|
|
|
+
|
|
|
Define your masks:
|
|
|
|
|
|
```javascript
|