stdlib/erb.rb in opal-1.7.4 vs stdlib/erb.rb in opal-1.8.0.alpha1
- old
+ new
@@ -1,4 +1,6 @@
+# backtick_javascript: true
+
require 'template'
class ERB
module Util
`var escapes = { '&': '&', '<': '<', '>': '>', '"': '"', "'": '''};`