Sha256: e0b187e5210de843b562a9d8398ca58bb90f0aae89a5204d73d4b8c0b4d9527c
Contents?: true
Size: 379 Bytes
Versions: 12
Compression:
Stored size: 379 Bytes
Contents
if RUBY_ENGINE == 'opal' module React module Config extend self def environment=(value) raise "Environment cannot be configured at runtime." end def config hash = %x{ Opal.hash({ environment: <%= '"' + React::Config.config[:environment] + '"' %> }) } hash end end end end
Version data entries
12 entries across 12 versions & 1 rubygems