corn_starch 1.3.9 → 1.3.10
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: 2d0c6b0139296106c46771f59bdcd1ab94be88d5
|
4
|
+
data.tar.gz: 37f0bc27e50032c568564923dff30af53fa04a36
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d8a1d5802b309dddc6956dc8d07ea2009ecfac639b789340f64179b491e75eea46ec0a80da1eed2338c9918b9b902f2674aec4e1324d613f95cbda3812c054e1
|
7
|
+
data.tar.gz: 43cf507edb6259338694eac639b1aee26110c97937a2fee8cf7b7f4ed176df9bf2c668077906ab42e67d004f262f5a0af8cc862ab100e11d27d7a713b8bd61ff
|
@@ -14,9 +14,14 @@ window.infiniscroll = (container) ->
|
|
14
14
|
args = c.attr 'infiniscroll-args'
|
15
15
|
next = c.attr 'infiniscroll-next'
|
16
16
|
|
17
|
-
# Construct
|
18
|
-
|
19
|
-
|
17
|
+
# Construct Args
|
18
|
+
if args == ''
|
19
|
+
args = '?'
|
20
|
+
else
|
21
|
+
args = args + '&'
|
22
|
+
args = args + 'current_page=' + next
|
23
|
+
|
24
|
+
# Build URL
|
20
25
|
full_path = path + args
|
21
26
|
|
22
27
|
alert('PATH : [' + full_path + ']')
|
data/lib/corn_starch/version.rb
CHANGED