Skip to content

Commit aee374f

Browse files
committedFeb 8, 2014
dom/node: add #replace_with alias for #replace
1 parent f0d2be5 commit aee374f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎opal/browser/dom/node.rb

+2
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,8 @@ def replace(node)
371371
node
372372
end
373373

374+
alias replace_with replace
375+
374376
alias text content
375377
alias text= content=
376378

0 commit comments

Comments
 (0)
Please sign in to comment.