stdlib/nodejs/env.rb in
opal-1.7.4
vs stdlib/nodejs/env.rb in
opal-1.8.0.alpha1
- old
+ new
@@ -1,4 +1,6 @@
+# backtick_javascript: true
+
ENV = Object.new class << ENV def [](name) `process.env[#{name}] || nil`