opal/corelib/math.rb in
opal-1.7.4
vs opal/corelib/math.rb in
opal-1.8.0.alpha1
- old
+ new
@@ -1,5 +1,6 @@
# helpers: type_error
+# backtick_javascript: true
module ::Math self::E = `Math.E` self::PI = `Math.PI`