simple_form_extension 1.2.9 → 1.2.10

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: 88e734be18ac47e61fdcf51804ea70e94e1bae6d
4
- data.tar.gz: d266cca3da7897489262fd64c2945d809545db26
3
+ metadata.gz: e051befe00f121cf42be7950ed070913f1a500a0
4
+ data.tar.gz: 112058b1c8de348b2272c59ee3fa9f8c1fce30f9
5
5
  SHA512:
6
- metadata.gz: 9e66f2d4a0636c5a1cdd5ce94ab08e9820cd1e2caaa2d8b0e6f7b41d4df9ee80ed338444f9a1156be6d1b3dbf5645a9e4df2ab8d163a180635f4c10e2a34f4cd
7
- data.tar.gz: a1ad99d68ce2b42cd39c094fb93ea94171ea279e34c82ad77c8d226314718c7b97282b7261b957f75378623d0e38bee962469f9768a5dd7b254aa8e3e678d9e1
6
+ metadata.gz: 3ab190bcb7f5237fe70db8ce34dcc55d3011c64f9e5a96b2145893b889f3b876e695d06d786854e142351d8dbd66e8dd7847ef3d33342d1f1946bf21764d7572
7
+ data.tar.gz: 1475d0a9d19a55a96ba9d6608c78ac27bb0dd50a90e1ee5b961fd81f8f6e8b4b21b025ab88b4b6fd41af1df0760f3507e64b7e529fa1a4df199ea4b265edbd5a
@@ -1,3 +1,3 @@
1
1
  module SimpleFormExtension
2
- VERSION = "1.2.9"
2
+ VERSION = "1.2.10"
3
3
  end
@@ -4,7 +4,6 @@ class Selectize
4
4
  @el = @$el[0]
5
5
 
6
6
  creatable = @$el.data('creatable')
7
- addTranslation = @$el.data('add-translation')
8
7
 
9
8
  @$el.val('')
10
9
 
@@ -37,10 +36,11 @@ class Selectize
37
36
  @el.selectize.addItem(data.value)
38
37
 
39
38
  renderOptions: ->
40
- option_create: (data) ->
39
+ option_create: (data) =>
41
40
  """
42
41
  <div class="create" data-selectable="">
43
- #{ @addTranslation } <strong>#{ data.input }</strong> ...
42
+ #{ @$el.data('add-translation') }
43
+ <strong>#{ data.input }</strong> ...
44
44
  </div>
45
45
  """
46
46
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_form_extension
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.9
4
+ version: 1.2.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexandre Vasseur
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-09 00:00:00.000000000 Z
11
+ date: 2015-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails