corn_starch 1.3.30 → 1.3.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d4b32d5ee2b6baab95140e1ef617da0b7eec4cf6
|
|
4
|
+
data.tar.gz: 5cf1a66b89cd610a5de23daf2273680be9933d85
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 67c18026299004e3c99615c89a065261b359b03bd20fbe2ffd89fc7e4149cee5b9571dc1b5d4055a5b4be6d36d392dbf2887e345b04291c23791955dc6cb3bb1
|
|
7
|
+
data.tar.gz: 37cb74bb87ae1c8ca5ef7f7b9a51cb8bc456843935a81c8ec26504b2ad46bf09d054689cadd2385bcb5a71fe5814ad9fbdf3683a3eaf3b01fcfeb1349d72d7f2
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# InfiniScroll JS
|
|
5
5
|
|
|
6
6
|
# Initialize InfiniScroll for the Page
|
|
7
|
-
$ ->
|
|
7
|
+
$(document).on('page:load') ->
|
|
8
8
|
|
|
9
9
|
# Acquire Container
|
|
10
10
|
infiniscroll_container = $('.infiniscroll-container')
|
|
@@ -17,6 +17,7 @@ $ ->
|
|
|
17
17
|
infiniscroll infiniscroll_container.id
|
|
18
18
|
|
|
19
19
|
# Handle Scroll Events
|
|
20
|
+
$(window).unbind('scroll')
|
|
20
21
|
$(window).scroll infiniscroll_handler
|
|
21
22
|
|
|
22
23
|
# Scroll Handler
|
|
@@ -68,4 +69,5 @@ window.infiniscroll = (container) ->
|
|
|
68
69
|
$("##{container}").append data['content']
|
|
69
70
|
|
|
70
71
|
# Re-Attach Scroll Handler
|
|
72
|
+
$(window).unbind('scroll')
|
|
71
73
|
$(window).scroll infiniscroll_handler
|
data/lib/corn_starch/version.rb
CHANGED