Sha256: 8d9f0db85a8ae11fc9549004724b1507159a58aa68fd5087380d2aeec869fd44
Contents?: true
Size: 566 Bytes
Versions: 6
Compression:
Stored size: 566 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 "hyperstack/internal/component" require "react/rails/asset_variant" variant = Hyperstack.env.production? ? 'production' : 'development' react_directory = React::Rails::AssetVariant.new({environment: variant}).react_directory Opal.append_path react_directory.untaint end
Version data entries
6 entries across 6 versions & 1 rubygems