corn_starch 1.3.7 → 1.3.8

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: b2964029a3d83cc0dc58729bb05d3686d8f18e97
4
- data.tar.gz: c050bd9a8d8e9bd8557c4b5267183e65719a580f
3
+ metadata.gz: f477bb5b09f5f81a4476bc4e485f9aa428d01d20
4
+ data.tar.gz: 825f0ee6855177910f7170e6bce3a42255dbecc3
5
5
  SHA512:
6
- metadata.gz: 426502fe3e54ce71afdebf80fc74807c9d8c507650a716c6c4de012a59fde3adf8c1c05743332469bb5a43da32c8cc545c9e7eb599fcfa1863879a1ebc079821
7
- data.tar.gz: 2f4e6d5f07d31ba906acce206a3c9167f4a42eba3170e56e73d3ffca8642dfc245fc86f1a78d39091c6055ac0d1d1ebaf275488faae1e03f043c2df03fb1b88a
6
+ metadata.gz: be980d32c101be14fcf8197a882bb246f35e9f9c0b115858dc67e1b43a1fcf2ac94efb110d36763a82dc25900b487fa3642cf7462e4ee817ba25c5c138e270d8
7
+ data.tar.gz: a80ccf9a609ecfb93b4251c4c0354b71b8b8361e9e015327d5a656ed6845b30c2f57bd7cb05f9154aad5757029ac428ecbd67271326e63861e60175ad45d7905
@@ -18,15 +18,13 @@ window.infiniscroll = (container) ->
18
18
  full_path = "#{path}?#{args}&current_page=#{next}"
19
19
 
20
20
  # Fetch Data
21
- $.ajax(url: full_path).done (data) ->
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
- # Insert Data into Container
29
+ # Append Content
32
30
  $("##{container}").append data['content']
@@ -1,3 +1,3 @@
1
1
  module CornStarch
2
- VERSION = '1.3.7'
2
+ VERSION = '1.3.8'
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.7
4
+ version: 1.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eresse