garlicjs-rails 1.1.1 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +1 -1
- data/lib/garlicjs-rails/version.rb +1 -1
- data/vendor/assets/javascripts/garlic.js +6 -3
- metadata +4 -4
data/README.md
CHANGED
|
@@ -99,9 +99,7 @@
|
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
, getOptions: function ( options ) {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
return options;
|
|
102
|
+
return $.extend( {}, $.fn[this.type].defaults, options, this.$element.data() );
|
|
105
103
|
}
|
|
106
104
|
|
|
107
105
|
/* temporary store data / state in localStorage */
|
|
@@ -356,6 +354,11 @@
|
|
|
356
354
|
return;
|
|
357
355
|
}
|
|
358
356
|
|
|
357
|
+
// don't bind a password type field
|
|
358
|
+
if ( 'password' === $( self ).attr( 'type' ) ) {
|
|
359
|
+
return;
|
|
360
|
+
}
|
|
361
|
+
|
|
359
362
|
// if data never binded, bind it right now!
|
|
360
363
|
if ( !data ) {
|
|
361
364
|
$this.data( 'garlic', ( data = new Garlic( self, storage, fieldOptions ) ) );
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: garlicjs-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.2
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2013-01-02 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: railties
|
|
@@ -58,7 +58,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
58
58
|
version: '0'
|
|
59
59
|
segments:
|
|
60
60
|
- 0
|
|
61
|
-
hash:
|
|
61
|
+
hash: -2766940448262897459
|
|
62
62
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
63
63
|
none: false
|
|
64
64
|
requirements:
|
|
@@ -67,7 +67,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
67
67
|
version: '0'
|
|
68
68
|
segments:
|
|
69
69
|
- 0
|
|
70
|
-
hash:
|
|
70
|
+
hash: -2766940448262897459
|
|
71
71
|
requirements: []
|
|
72
72
|
rubyforge_project:
|
|
73
73
|
rubygems_version: 1.8.24
|