spaghetti 0.3.3 → 0.3.4

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.
@@ -1,3 +1,3 @@
1
1
  module Spaghetti
2
- VERSION = "0.3.3"
2
+ VERSION = "0.3.4"
3
3
  end
@@ -15,13 +15,11 @@ $(function() {
15
15
  }
16
16
 
17
17
  $('.spaghetti-empty').each(function() {
18
+ $(this).removeClass('spaghetti-empty');
18
19
  $.ajax({
19
20
  url: $(this).data('spaghetti-url') + '?page=' + $(this).data('spaghetti-next-page'),
20
21
  type: 'get',
21
- dataType: 'script',
22
- success: function() {
23
- $(this).removeClass('spaghetti-empty');
24
- }
22
+ dataType: 'script'
25
23
  });
26
24
  });
27
25
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spaghetti
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -63,7 +63,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
63
63
  version: '0'
64
64
  segments:
65
65
  - 0
66
- hash: -456513676427562137
66
+ hash: 3786804360282957261
67
67
  required_rubygems_version: !ruby/object:Gem::Requirement
68
68
  none: false
69
69
  requirements:
@@ -72,7 +72,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
72
72
  version: '0'
73
73
  segments:
74
74
  - 0
75
- hash: -456513676427562137
75
+ hash: 3786804360282957261
76
76
  requirements: []
77
77
  rubyforge_project:
78
78
  rubygems_version: 1.8.24