corn_starch 1.3.20 → 1.3.21

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: 9a9cb9ce0d5591d3495d42db68272c04d67dc380
4
- data.tar.gz: e71e7e5e4449870611bdfdac8b4e1553cb20337f
3
+ metadata.gz: fae82bc79cce35342c6a02e2dfb9765207b3b4bc
4
+ data.tar.gz: d5e727f5752111b22766187f5f99c2461778bfa1
5
5
  SHA512:
6
- metadata.gz: 2015c729d409a257df801c8e9025f39e3094c6dea8a2c2373c96aaf2fcec735c954cbf49baa1a0ca537777cca6d94c490888631effaa2e1b60276f6c517ca878
7
- data.tar.gz: 12cc0d1399f3efe75f12baeb28bc71215f270b344b22039ac4cf91ddc50d0d1869050a84cc368ceee6cc68bef9789f3eae52af8a9b37c0c3a8b82daa23a67fc2
6
+ metadata.gz: 8f09f7f815efba9c0bd0eda46e83bfe4dc876d1ed5b758b3f696ebcb3fcefbd10add191392903251ab8b73bada53490a3eb63a6eaf9bee3de4215d7c9ea40491
7
+ data.tar.gz: a3604837cf5c132d4583029211ac9ae0d6c69e54894422bd2318d9a0b23424fe1cf10896ccb0e70a2bf73ca2a3181473bf757415abacfa3d2e4acbd4ad1d0962
@@ -19,9 +19,6 @@ $ ->
19
19
  # Check Position
20
20
  if ($(window).scrollTop() + $(window).height()) >= ($(document).height() - infiniscroll_container.getAttribute('infiniscroll-margin'))
21
21
 
22
- # DEBUG
23
- alert('InfiniScroll Container : ' + infiniscroll_container.id)
24
-
25
22
  # Scroll it, bitch !
26
23
  infiniscroll infiniscroll_container.id
27
24
 
@@ -36,7 +33,14 @@ window.infiniscroll = (container) ->
36
33
  args = c.attr 'infiniscroll-args'
37
34
  next = c.attr 'infiniscroll-next'
38
35
 
39
- return if next == 'none'
36
+ # Check End
37
+ if next == 'none'
38
+
39
+ # Drop InfiniScroll
40
+ $(window).unbind('scroll')
41
+
42
+ # Done
43
+ return
40
44
 
41
45
  # Construct Args
42
46
  if args == ''
@@ -1,3 +1,3 @@
1
1
  module CornStarch
2
- VERSION = '1.3.20'
2
+ VERSION = '1.3.21'
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.20
4
+ version: 1.3.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eresse