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: aaa80a71ec337f8de26b591036c92cacf7ded00c
4
- data.tar.gz: d391937c31cf1d42fb2e1d9c555a7010f5c60949
3
+ metadata.gz: 2d0c6b0139296106c46771f59bdcd1ab94be88d5
4
+ data.tar.gz: 37f0bc27e50032c568564923dff30af53fa04a36
5
5
  SHA512:
6
- metadata.gz: 22a5f564b3043503e1784c15340ecfdcd5bf66b67312aa34edd9a453d1acdebd5d4152d990052c31db918fa84822448d5669488304819e4bb026771789ae8c5b
7
- data.tar.gz: 33b3b7983800b45cc591f093884e65e606db1b27b6a00c2be8cc19aaf8abbf3805281d423520abaac4561b47489aaf6c53cdb8ef6d58439965ed7d2d79cbf09c
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 URL
18
- args = (args == '') ? '?' : "#{args}&"
19
- args = "#{args}current_page=#{next}"
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 + ']')
@@ -1,3 +1,3 @@
1
1
  module CornStarch
2
- VERSION = '1.3.9'
2
+ VERSION = '1.3.10'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: corn_starch
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.9
4
+ version: 1.3.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eresse