bootstrap_tokenfield_rails 0.0.7 → 0.0.9
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b5f633026d019a060f69ad542386d6ffa616428f
|
|
4
|
+
data.tar.gz: 176b7704f22c557188ca5a28c1e52ea0a1db83b8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 398cdb4c381c3dc4ee9a8f177a815a3e88486170daf04271948f889e327ab626fd99af777c0b11dbd277589888ce69bc358b93a3f2af81349625b69ae0e9abbc
|
|
7
|
+
data.tar.gz: 692587fc87c933604397a9a5bd4ac7ef8ff4eaf1b5739e21b2f14a196b9dfbabcf5e5f9bfb1cef8281eaa9fb7b8da4e880d1100f6db5e2490a6a63e4ca0a2a9f
|
|
@@ -192,6 +192,7 @@
|
|
|
192
192
|
args[0] = $.extend( {}, defaults, args[0] )
|
|
193
193
|
|
|
194
194
|
this.$input.typeahead.apply( this.$input, args )
|
|
195
|
+
this.$hint = this.$input.prev('.tt-hint')
|
|
195
196
|
this.typeahead = true
|
|
196
197
|
}
|
|
197
198
|
}
|
|
@@ -880,6 +881,10 @@
|
|
|
880
881
|
}
|
|
881
882
|
|
|
882
883
|
this.$input.width( mirrorWidth )
|
|
884
|
+
|
|
885
|
+
if (this.$hint) {
|
|
886
|
+
this.$hint.width( mirrorWidth )
|
|
887
|
+
}
|
|
883
888
|
}
|
|
884
889
|
else {
|
|
885
890
|
var w = (this.textDirection === 'rtl')
|
|
@@ -890,6 +895,10 @@
|
|
|
890
895
|
// dimensions returned by jquery will be NaN -> we default to 100%
|
|
891
896
|
// so placeholder won't be cut off.
|
|
892
897
|
isNaN(w) ? this.$input.width('100%') : this.$input.width(w);
|
|
898
|
+
|
|
899
|
+
if (this.$hint) {
|
|
900
|
+
isNaN(w) ? this.$hint.width('100%') : this.$hint.width(w);
|
|
901
|
+
}
|
|
893
902
|
}
|
|
894
903
|
}
|
|
895
904
|
|
metadata
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bootstrap_tokenfield_rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Akash Devaraju
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2015-05-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- - ~>
|
|
17
|
+
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
19
|
version: '1.3'
|
|
20
20
|
type: :development
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
|
-
- - ~>
|
|
24
|
+
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: '1.3'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: rake
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
|
-
- -
|
|
31
|
+
- - ">="
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
33
|
version: '0'
|
|
34
34
|
type: :development
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
|
-
- -
|
|
38
|
+
- - ">="
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
40
|
version: '0'
|
|
41
41
|
description: A gem for adding the tokenizing plugin, Bootstrap Tokenfield to the rails
|
|
@@ -61,17 +61,17 @@ require_paths:
|
|
|
61
61
|
- lib
|
|
62
62
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
63
63
|
requirements:
|
|
64
|
-
- -
|
|
64
|
+
- - ">="
|
|
65
65
|
- !ruby/object:Gem::Version
|
|
66
66
|
version: '0'
|
|
67
67
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
68
68
|
requirements:
|
|
69
|
-
- -
|
|
69
|
+
- - ">="
|
|
70
70
|
- !ruby/object:Gem::Version
|
|
71
71
|
version: '0'
|
|
72
72
|
requirements: []
|
|
73
73
|
rubyforge_project:
|
|
74
|
-
rubygems_version: 2.2.
|
|
74
|
+
rubygems_version: 2.2.2
|
|
75
75
|
signing_key:
|
|
76
76
|
specification_version: 4
|
|
77
77
|
summary: A jQuery tagging / tokenizer input plugin for Twitter's Bootstrap
|