corn_starch 1.3.19 → 1.3.20

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: 805615b061b47c3203710051de7ba7bb8af7a2fc
4
- data.tar.gz: cc46342e22d3e0cf28948b38fb7321f6ac1eb415
3
+ metadata.gz: 9a9cb9ce0d5591d3495d42db68272c04d67dc380
4
+ data.tar.gz: e71e7e5e4449870611bdfdac8b4e1553cb20337f
5
5
  SHA512:
6
- metadata.gz: c9413a3dfaa381b8177097d7026bbe7b016485f83c82bf8dc8dce80b9200c003da0ab0037db8f856acc746478dc0f58e49c35140d6211d6fbb29d842d66a4f80
7
- data.tar.gz: f0459f0ca42c4c7ebd6a69f80f9f8663e26805746cf249e2c64dd862af97fcd942edb7e70ae03746ee23f10fe90ba448a0ee362f2cd6e94f9aea32e86ec3a301
6
+ metadata.gz: 2015c729d409a257df801c8e9025f39e3094c6dea8a2c2373c96aaf2fcec735c954cbf49baa1a0ca537777cca6d94c490888631effaa2e1b60276f6c517ca878
7
+ data.tar.gz: 12cc0d1399f3efe75f12baeb28bc71215f270b344b22039ac4cf91ddc50d0d1869050a84cc368ceee6cc68bef9789f3eae52af8a9b37c0c3a8b82daa23a67fc2
@@ -9,9 +9,6 @@ $ ->
9
9
  # Acquire Container
10
10
  infiniscroll_container = $('.infiniscroll-container')
11
11
 
12
- # DEBUG
13
- alert('NO SCROLL') if infiniscroll_container.length == 0
14
-
15
12
  # Check Presence
16
13
  return if infiniscroll_container.length == 0
17
14
  infiniscroll_container = infiniscroll_container[0]
@@ -20,7 +17,7 @@ $ ->
20
17
  $(window).scroll ->
21
18
 
22
19
  # Check Position
23
- if ($(window).scrollTop() + $(window).height()) >= ($(document).height() - infiniscroll_container.attr('infiniscroll-margin'))
20
+ if ($(window).scrollTop() + $(window).height()) >= ($(document).height() - infiniscroll_container.getAttribute('infiniscroll-margin'))
24
21
 
25
22
  # DEBUG
26
23
  alert('InfiniScroll Container : ' + infiniscroll_container.id)
@@ -1,3 +1,3 @@
1
1
  module CornStarch
2
- VERSION = '1.3.19'
2
+ VERSION = '1.3.20'
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.19
4
+ version: 1.3.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eresse