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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fae82bc79cce35342c6a02e2dfb9765207b3b4bc
|
4
|
+
data.tar.gz: d5e727f5752111b22766187f5f99c2461778bfa1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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 == ''
|
data/lib/corn_starch/version.rb
CHANGED