lib/opal/jquery/element.rb in opal-jquery-0.4.4 vs lib/opal/jquery/element.rb in opal-jquery-0.4.5
- old
+ new
@@ -335,9 +335,15 @@
alias_native :remove_attr, :removeAttr
# @!method remove_class(class_name)
alias_native :remove_class, :removeClass
+ # @!method replace_all(target)
+ alias_native :replace_all, :replaceAll
+
+ # @!method replace_with(new_content)
+ alias_native :replace_with, :replaceWith
+
# @!method submit()
alias_native :submit
# @!method click()
alias_native :click