stdlib/erb.rb in opal-1.3.2 vs stdlib/erb.rb in opal-1.4.0.alpha1
- old
+ new
@@ -8,9 +8,10 @@
def html_escape(str)
`("" + str).replace(escape_regexp, function (m) { return escapes[m] })`
end
alias h html_escape
+
module_function :h
module_function :html_escape
end
end