Skip to content

Commit

Permalink
dom/node: add #replace_with alias for #replace
Browse files Browse the repository at this point in the history
  • Loading branch information
meh committed Feb 8, 2014
1 parent f0d2be5 commit aee374f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions opal/browser/dom/node.rb
Expand Up @@ -371,6 +371,8 @@ def replace(node)
node
end

alias replace_with replace

alias text content
alias text= content=

Expand Down

0 comments on commit aee374f

Please sign in to comment.