corn_starch 1.3.22 → 1.3.23
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: 0bd9e96f45d0688906a5c5efc81b472b561c2928
|
4
|
+
data.tar.gz: 6d7390652a527ee826f08c73ddb50008f263a6e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b62d8714d75b5ac23c09750afc17398659f5c541e9d502ae1350118d28864c5111dda5a5f54aec667f27b6f0979b18482ad2a23308453b8f1f0dd18a25370e4a
|
7
|
+
data.tar.gz: 3724ecd92838702cf68fbbe71a4c14c46ab7c1734b707d6a41475fe0ad8fbbba85f5b342c17b082bf601d1aa9cb48730d5d45e9a0853810d41dd7a558bf6817d
|
@@ -25,11 +25,9 @@ window.infiniscroll_handler = () ->
|
|
25
25
|
# Check Position
|
26
26
|
if ($(window).scrollTop() + $(window).height()) >= ($(document).height() - infiniscroll_container.getAttribute('infiniscroll-margin'))
|
27
27
|
|
28
|
-
#
|
28
|
+
# Drop Scroll Handler
|
29
29
|
$(window).unbind('scroll')
|
30
30
|
|
31
|
-
alert('foobar')
|
32
|
-
|
33
31
|
# Scroll it, bitch !
|
34
32
|
infiniscroll infiniscroll_container.id
|
35
33
|
|
@@ -78,6 +78,8 @@ module CornStarch
|
|
78
78
|
# Compute Next
|
79
79
|
@infiniscroll[:next] = (@pagination[:current] < (@pagination[:pg_count] - 1)) ? @pagination[:current] + 1 : :none
|
80
80
|
|
81
|
+
puts "=========== infiniscroll : #{@infiniscroll[:next]} / #{@pagination[:pg_count]}"
|
82
|
+
|
81
83
|
# Set Search
|
82
84
|
@infiniscroll[:params][:search] = params[:search] if params[:search]
|
83
85
|
|
data/lib/corn_starch/version.rb
CHANGED