opal-connect 0.0.17 → 0.0.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/opal/connect.rb +1 -12
- data/lib/opal/connect/plugins/dom.rb +1 -1
- data/lib/opal/connect/version.rb +1 -1
- 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: f2e57162da7ac4bd3fc41ada4606bd64205fcad1
|
4
|
+
data.tar.gz: 0bb2a2454b6940f77fdfb0557a89328cf5063019
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ab4f5a1339d0b8a55ec6bae2d91a3eab616e3262ee007b9529f21d42be1239ca134733e3adc0397c52cb067dda7129b85c7622dbb7310ee3b801bd20ee94543
|
7
|
+
data.tar.gz: cee41da3f156eb5777a24eeb4ca9721f986b4313032ae62b13ab31318b017aadf0d01cb79ad21f0dfc65bf6521216a021a29b6a94d5b2a0ff47315cec622b6fd
|
data/lib/opal/connect.rb
CHANGED
@@ -38,18 +38,7 @@ module Opal
|
|
38
38
|
end
|
39
39
|
|
40
40
|
unless block_given?
|
41
|
-
options[:setup_blocks].each
|
42
|
-
klass = Class.new do
|
43
|
-
include Opal::Connect
|
44
|
-
|
45
|
-
class << self
|
46
|
-
attr_accessor :class_name
|
47
|
-
end
|
48
|
-
end
|
49
|
-
klass.class_name = b[:klass].name
|
50
|
-
|
51
|
-
klass.instance_exec(&b[:block])
|
52
|
-
end
|
41
|
+
options[:setup_blocks].each { |b| b[:klass].instance_exec(&b[:block]) }
|
53
42
|
end
|
54
43
|
end
|
55
44
|
|
data/lib/opal/connect/version.rb
CHANGED