Sha256: d7a2d941b781b07628345c9b4716deb2a18796282dcb9ce6c6fccf65a5c3eca5
Contents?: true
Size: 548 Bytes
Versions: 11
Compression:
Stored size: 548 Bytes
Contents
if RUBY_ENGINE == 'opal' %x{ var ms = [ "Warning: `react/react-source` is deprecated, ", "use `react/react-source-browser` or `react/react-source-server` instead." ] console.error(ms.join("")); } require 'react.js' require "react-server.js" else require "react/config" require "react/rails/asset_variant" variant = Hyperloop.env.production? ? 'production' : 'development' react_directory = React::Rails::AssetVariant.new({environment: variant}).react_directory Opal.append_path react_directory.untaint end
Version data entries
11 entries across 11 versions & 2 rubygems