roda-component 0.1.37 → 0.1.38

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: 6c8ce57bd15f970a920804f601e91d8ac5e02a65
4
- data.tar.gz: 8693021af19460c08417e5fd0c18830a79fb72e2
3
+ metadata.gz: 5c0d735d8d8c278806656546752c2f22812005d1
4
+ data.tar.gz: 4160ee08fae9b0100cd0c15ec6e49da610ca96cb
5
5
  SHA512:
6
- metadata.gz: 5c755730ffd5142db7d612b0604eaf54826e51a6b031b66185058f7f8c1f4d70a21cd9aa6fbfeea84d92d5f51533e7627ae031cb24c5089fae40afe60586a87a
7
- data.tar.gz: e1815b3b334c6ec635aa6de7c9ee90d876867af0f5ed81d9b1a54eb957629c75ba4d69a7cdb7279065b0c9034e4e2a4aa84fc0ffb6adfb0b4e0c1cc73f136feb
6
+ metadata.gz: e5eec2e33b450229371fd642baced338fd463a7b3bf13a1fe9f1ac942f6f5465960270998b591cdcd53122a7f80147ca19438fac977945ea90f6f233e7553600
7
+ data.tar.gz: 84cecb23a331734d990113184e38be17db749e86fc2bef72e6fd79649904873f83aef175110a0575141ccfe318a4bd5f0aef08e39b62c80b4e9d8854dba87004
@@ -1,5 +1,5 @@
1
1
  class Roda
2
2
  class Component
3
- VERSION = "0.1.37"
3
+ VERSION = "0.1.38"
4
4
  end
5
5
  end
@@ -103,7 +103,7 @@ class Roda
103
103
  unless $component_opts[:comp][:"#{comp_name}"]
104
104
  $component_opts[:faye] ||= {}
105
105
  $component_opts[:comp][:"#{comp_name}"] = true
106
- `$.getScript("/#{component_opts[:assets_route]}#{file_path}", function(){`
106
+ `$.getScript("/#{component_opts[:assets_route]}#{file_path}").done(function(){`
107
107
  Document.ready? do
108
108
  if action != 'false'
109
109
  c = $component_opts[:comp][:"#{comp_name}"] = #{comp.class}.new
@@ -114,7 +114,7 @@ class Roda
114
114
  c.events.trigger_jquery_events
115
115
  c.#{action}(JSON.parse(Base64.decode64('#{options}'))) if action != 'false'
116
116
  end
117
- `});`
117
+ `}).fail(function(jqxhr, settings, exception){ window.console.log(exception); });`
118
118
  end
119
119
  EOF
120
120
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: roda-component
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.37
4
+ version: 0.1.38
5
5
  platform: ruby
6
6
  authors:
7
7
  - cj