corn_starch 1.3.28 → 1.3.29

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: 4e0d91e70f9616c8cde98de1b3769ff55b78d3a5
4
- data.tar.gz: b244cfb8ad55b67f1f96a22afd7c0c8b14abe9e3
3
+ metadata.gz: 2d2c566e9c217db3da5571f8aa8cf11ff02528e8
4
+ data.tar.gz: 116390e42e742295d6309c0e78f83013a811caed
5
5
  SHA512:
6
- metadata.gz: 85312ee6388c49965076477aaff32f74190190f7a5e025593ea54a5373b4d2fc8d7541286e21498cd2740724a95c9a5f6de093fc2a9e88da217add38e5398209
7
- data.tar.gz: c4708d0dbff49f348c26db87c5c314efad3aee200879457d4467dafa2969eff3dadd72c6dde70641161950c5538279a946757c6e545a7d46bd8761f10b765c44
6
+ metadata.gz: c7880bd8d11e5f2675b9ba7103f528842a62224a155c2fb262fa3dee86e139f7bc92e0b15f60e57f3e2ada54f89e849b40d3448ed6fac9dfc25cc920ba25d072
7
+ data.tar.gz: 7ae428bca9954b28e22103c497ae0b59d3447d8d6a83f875a35c8c8adce0810c1a1cd4627b20f74f92065dd49d69cb69ee08246b70098d6a016076142e58c3c8
@@ -13,6 +13,9 @@ $ ->
13
13
  return if infiniscroll_container.length == 0
14
14
  infiniscroll_container = infiniscroll_container[0]
15
15
 
16
+ while ($(window).scrollTop() + $(window).height()) >= ($(document).height() - infiniscroll_container.getAttribute('infiniscroll-margin'))
17
+ infiniscroll infiniscroll_container.id
18
+
16
19
  # Handle Scroll Events
17
20
  $(window).scroll infiniscroll_handler
18
21
 
@@ -1,3 +1,3 @@
1
1
  module CornStarch
2
- VERSION = '1.3.28'
2
+ VERSION = '1.3.29'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: corn_starch
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.28
4
+ version: 1.3.29
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eresse