search_selector 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c29bc8a414e6bccf4ea509740c3553a3e063defd
|
4
|
+
data.tar.gz: 6d296ebb9915b7619df4072312f7b6b277359e90
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27f3c2486087f908196a6e58e983d5740110613237186143c0d15f5b7e7b3a03cfa11987f91e6e6627a26e491d4e684922315d32e511dba29d2d4050096a0399
|
7
|
+
data.tar.gz: 4cc948dd1c292defee868c93e3037b4182cdafa2464851fd61c0e1d0694720dba15f366279dd611c6ce5de0aa51c021499bd7deca9105a50e51811eb67b3a482
|
@@ -134,7 +134,7 @@
|
|
134
134
|
@items = items
|
135
135
|
@drawDropDown()
|
136
136
|
|
137
|
-
jQuery.fn.
|
137
|
+
jQuery.fn.searchSelector = (options) ->
|
138
138
|
$el = $(this)
|
139
139
|
if typeof options == 'string'
|
140
140
|
searchSelector = $el.data('search-selector')
|
@@ -143,7 +143,7 @@
|
|
143
143
|
searchSelector.selected
|
144
144
|
when 'text'
|
145
145
|
searchSelector.text()
|
146
|
-
when '
|
146
|
+
when 'searchSelector'
|
147
147
|
searchSelector
|
148
148
|
else
|
149
149
|
$ss = $('<span class="ss-element"></span>')
|