simple_form_extension 1.4.5 → 1.4.6
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: 05bd0458464d5c686a94a23e4786edb71fd5bcff
|
4
|
+
data.tar.gz: d3510e286cbb66ba4aca5de9160c3eb7862ec5c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 73716c243d7050dec75ebab88e86316233d722f07e65756a32a97bfdbed9024d21e2e14da04d6ef4cdfa4ac085dac03028032bad4741f152deec84b78a1278bb
|
7
|
+
data.tar.gz: 11395f602aea0d79887c06180f6487d21f515fbac12479ad6c3aecde3825f1900486ade9545cdf9e30725fbb092c27e7e807b5ef0e915707f9e01e4f2da55321
|
@@ -8,11 +8,11 @@ class Redactor
|
|
8
8
|
'unorderedlist', 'orderedlist', 'outdent', 'indent',
|
9
9
|
'image', 'file','link', 'alignment', 'horizontalrule']
|
10
10
|
removeEmpty: ['strong', 'em', 'span', 'p', 'h1', 'h2', 'h3', 'h4', 'div']
|
11
|
-
|
11
|
+
minHeight: 250
|
12
12
|
buttonSource: true
|
13
13
|
replaceDivs: false
|
14
|
-
linebreaks: false
|
15
14
|
toolbarFixed: false
|
15
|
+
cleanStyleOnEnter: true
|
16
16
|
formattingAdd: [
|
17
17
|
{
|
18
18
|
tag: 'img'
|
@@ -1,9 +1,12 @@
|
|
1
1
|
class Slider
|
2
2
|
constructor: (@$el) ->
|
3
|
+
values = @$el.data('slider-value').split(',')
|
4
|
+
value = if values.length <= 1 then value[0] else (parseInt(value, 10) for value in values)
|
5
|
+
|
3
6
|
if @$el.bootstrapSlider
|
4
|
-
@$el.bootstrapSlider()
|
7
|
+
@$el.bootstrapSlider(value: value)
|
5
8
|
else
|
6
|
-
@$el.slider()
|
9
|
+
@$el.slider(value: value)
|
7
10
|
|
8
11
|
$.fn.simpleFormSlider = ->
|
9
12
|
@each (i, el) ->
|
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.4.
|
4
|
+
version: 1.4.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Glyph-fr
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-03-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -183,7 +183,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
183
183
|
version: '0'
|
184
184
|
requirements: []
|
185
185
|
rubyforge_project:
|
186
|
-
rubygems_version: 2.
|
186
|
+
rubygems_version: 2.6.8
|
187
187
|
signing_key:
|
188
188
|
specification_version: 4
|
189
189
|
summary: This gems adds custom common input types to simple form.
|