formtastic-jquery_inputmask 0.1.1 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/app/assets/javascripts/formtastic/inputmask.js +0 -7
- data/lib/formtastic/jquery_inputmask/version.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dbf3e0961f152c669202c96fbd547b6bc282d170
|
4
|
+
data.tar.gz: e226d80560c1437cd797ffa8736595691a492b86
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21d18d97d454434435c37c7a039a366940d970493cb999c7c711092175d7a78e01da098a0ca53ae60a6b222585b58ba1eaf1c40ab2a06d8ab3e5e178b59658ba
|
7
|
+
data.tar.gz: 319363d568753bf344dae58366a584b22afcda37db77cda70bd0b336233b1321ab7ec899c04f0e6a7ae56fd64d72666f370fef36905ac5939385c017e6a0fb1f
|
data/README.md
CHANGED
@@ -12,7 +12,7 @@ gem 'formtastic-jquery_inputmask'
|
|
12
12
|
//= require formtastic/inputmask
|
13
13
|
```
|
14
14
|
|
15
|
-
**3. Load locale or other [inputmask](https://github.com/dhyegofernando/formtastic-jquery_inputmask/tree/master/vendor/
|
15
|
+
**3. Load locale or other [inputmask](https://github.com/dhyegofernando/formtastic-jquery_inputmask/tree/master/vendor/inputmask/dist) file as you want**
|
16
16
|
```javascript
|
17
17
|
//= require formtastic/inputmask/locales/pt-BR
|
18
18
|
//= require inputmask/phone-codes/phone-us
|
@@ -7,10 +7,3 @@
|
|
7
7
|
//= require inputmask/inputmask.phone.extensions
|
8
8
|
//= require inputmask/bindings/inputmask.binding
|
9
9
|
|
10
|
-
(function($) {
|
11
|
-
'use strict';
|
12
|
-
|
13
|
-
$(document).on('has_many_add:after', function(e, fieldset) {
|
14
|
-
$(fieldset).find('.inputmask').inputmask();
|
15
|
-
});
|
16
|
-
}(jQuery));
|