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 +4 -4
- data/lib/roda/component/version.rb +1 -1
- data/lib/roda/plugins/component.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c0d735d8d8c278806656546752c2f22812005d1
|
4
|
+
data.tar.gz: 4160ee08fae9b0100cd0c15ec6e49da610ca96cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5eec2e33b450229371fd642baced338fd463a7b3bf13a1fe9f1ac942f6f5465960270998b591cdcd53122a7f80147ca19438fac977945ea90f6f233e7553600
|
7
|
+
data.tar.gz: 84cecb23a331734d990113184e38be17db749e86fc2bef72e6fd79649904873f83aef175110a0575141ccfe318a4bd5f0aef08e39b62c80b4e9d8854dba87004
|
@@ -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}"
|
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
|
|