corn_starch 1.3.7 → 1.3.8
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: f477bb5b09f5f81a4476bc4e485f9aa428d01d20
|
4
|
+
data.tar.gz: 825f0ee6855177910f7170e6bce3a42255dbecc3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be980d32c101be14fcf8197a882bb246f35e9f9c0b115858dc67e1b43a1fcf2ac94efb110d36763a82dc25900b487fa3642cf7462e4ee817ba25c5c138e270d8
|
7
|
+
data.tar.gz: a80ccf9a609ecfb93b4251c4c0354b71b8b8361e9e015327d5a656ed6845b30c2f57bd7cb05f9154aad5757029ac428ecbd67271326e63861e60175ad45d7905
|
@@ -18,15 +18,13 @@ window.infiniscroll = (container) ->
|
|
18
18
|
full_path = "#{path}?#{args}¤t_page=#{next}"
|
19
19
|
|
20
20
|
# Fetch Data
|
21
|
-
$.
|
21
|
+
$.getJSON full_path, (data) ->
|
22
22
|
|
23
|
+
# DEBUG
|
23
24
|
alert data
|
24
25
|
|
25
|
-
# Parse JSON Data
|
26
|
-
data = JSON.parse data
|
27
|
-
|
28
26
|
# Update Next
|
29
27
|
c.attr 'infiniscroll-next', data['next']
|
30
28
|
|
31
|
-
#
|
29
|
+
# Append Content
|
32
30
|
$("##{container}").append data['content']
|
data/lib/corn_starch/version.rb
CHANGED