domle 0.1.9 → 0.1.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/domle.rb +5 -5
- data.tar.gz.sig +0 -0
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc3d73aa9e2167b3266d6d0029a8c76b68bf41f7
|
4
|
+
data.tar.gz: 7d2f1f2fea0ea48ef42dba5e2fec70c026dfe43c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f184563d43ba7db470b56ff765065501cf8452af71e96394667f17f16f7a82ee5d1acc46923b39a3b28b5badb18cc66eb393bb09dad7b9421ecb45c1ec4962f6
|
7
|
+
data.tar.gz: 7b65a4cc7243f6ff86d4e301bd97ee9122b5a8d54ee615990a747154260c2211f2c3e755b1dc1ba755a4e9be52ba5cd70a67bf54157a97d85eb9bede52af2e09
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/domle.rb
CHANGED
@@ -109,12 +109,12 @@ class Domle < Rexle
|
|
109
109
|
|
110
110
|
end
|
111
111
|
|
112
|
-
def initialize(x=nil, callback: nil)
|
113
|
-
|
114
|
-
super x
|
112
|
+
def initialize(x=nil, callback: nil, rexle: self)
|
115
113
|
|
114
|
+
super x, rexle: rexle
|
116
115
|
find_add_css()
|
117
116
|
@callback = callback
|
117
|
+
|
118
118
|
end
|
119
119
|
|
120
120
|
def refresh()
|
@@ -212,7 +212,7 @@ class Domle < Rexle
|
|
212
212
|
|
213
213
|
type = defined_elements()
|
214
214
|
|
215
|
-
element = type[name.to_sym].new(name, attributes: attributes, rexle:
|
215
|
+
element = type[name.to_sym].new(name, attributes: attributes, rexle: @rexle)
|
216
216
|
|
217
217
|
if children then
|
218
218
|
|
@@ -248,4 +248,4 @@ class Domle < Rexle
|
|
248
248
|
end
|
249
249
|
|
250
250
|
|
251
|
-
end
|
251
|
+
end
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|