NodeSet#push should not take node ownership.
This commit is contained in:
parent
15fa7a2068
commit
a98f50b63b
|
@ -26,8 +26,6 @@ module Oga
|
||||||
end
|
end
|
||||||
|
|
||||||
def push(node)
|
def push(node)
|
||||||
node.node_set = self
|
|
||||||
|
|
||||||
@nodes << node
|
@nodes << node
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue