pageflow-before-after 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -8
- data/app/assets/javascripts/pageflow/before_after.js +6 -1
- data/lib/pageflow/before_after/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10de3897d8a84f582f5088c1897fa74d5eebeccebe1a0b7b63c829724b683440
|
4
|
+
data.tar.gz: a3a65817ab77868a384c465c8e47e69e8e04ecc640503b151e72dd1e74d9267b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b47c450ddff02ce88a6b70ee3f7099ac48ad9cd6eebdb329b1a8c635341f10f9c1cb188468a21c206278fce82fd50be292bd7df7b5f52a297756721aa50f597e
|
7
|
+
data.tar.gz: 6e0455df67f11f3ff31ab4a8ba8d4984b6dcfda8e56d9edc8ba616693abbbdd2f525fcfd5f012df2c98eb11026f4b957d4c3ac819919af49d1f46211b5fe637d
|
data/CHANGELOG.md
CHANGED
@@ -1,16 +1,15 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
-
### Version 1.2.0
|
4
3
|
|
5
|
-
|
4
|
+
### Version 1.3.0
|
6
5
|
|
7
|
-
|
6
|
+
2019-05-20
|
8
7
|
|
9
|
-
|
10
|
-
|
11
|
-
-
|
12
|
-
([#
|
8
|
+
[Compare changes](https://github.com/codevise/pageflow-before-after/compare/1-2-stable...v1.3.0)
|
9
|
+
|
10
|
+
- Only refresh widget on resize if initialized
|
11
|
+
([#25](https://github.com/codevise/pageflow-before-after/pull/25))
|
13
12
|
|
14
13
|
See
|
15
|
-
[1-
|
14
|
+
[1-2-stable branch](https://github.com/codevise/pageflow-before-after/blob/1-2-stable/CHANGELOG.md)
|
16
15
|
for previous changes.
|
@@ -32,7 +32,12 @@ pageflow.pageType.register('before_after', _.extend({
|
|
32
32
|
},
|
33
33
|
|
34
34
|
resize: function(pageElement, configuration) {
|
35
|
-
pageElement.find(
|
35
|
+
var beforeAfterElement = pageElement.find('.before_after');
|
36
|
+
|
37
|
+
if (beforeAfterElement.before_after('instance')) {
|
38
|
+
beforeAfterElement.before_after('refresh');
|
39
|
+
}
|
40
|
+
|
36
41
|
pageElement.find('.scroller').scroller("refresh");
|
37
42
|
},
|
38
43
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pageflow-before-after
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Codevise Solutions
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pageflow
|
@@ -154,7 +154,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
154
154
|
version: '0'
|
155
155
|
requirements: []
|
156
156
|
rubyforge_project:
|
157
|
-
rubygems_version: 2.7.
|
157
|
+
rubygems_version: 2.7.8
|
158
158
|
signing_key:
|
159
159
|
specification_version: 4
|
160
160
|
summary: Pageflow page type for before/after image slider.
|