Sha256: 3af04e3f455b9b8f795acf2cffa5fd0513fbee84c681fe05c016fc42b89fee4f

Contents?: true

Size: 922 Bytes

Versions: 4

Compression:

Stored size: 922 Bytes

Contents

# Check out the full list of the available configuration options at
# https://github.com/opal/opal/blob/master/lib/opal/config.rb

Rails.application.configure do
  # We suggest keeping the configuration above as default for all environments,
  # disabling some of them might slightly reduce the bundle size or reduce performance
  # by degrading some ruby features.
  config.opal.method_missing_enabled   = true
  config.opal.const_missing_enabled    = true
  config.opal.arity_check_enabled      = true
  config.opal.freezing_stubs_enabled   = true
  config.opal.dynamic_require_severity = :ignore

  # To enable passing assigns from the controller to the opal template handler
  # change the following configuration to one of these values:
  #
  #   - true    # both locals and instance variables
  #   - :locals # only locals
  #   - :ivars  # only instance variables
  #
  config.opal.assigns_in_templates = false
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
opal-rails-2.0.4 lib/generators/opal/install/templates/initializer.rb
opal-rails-2.0.3 lib/generators/opal/install/templates/initializer.rb
opal-rails-2.0.2 lib/generators/opal/install/templates/initializer.rb
opal-rails-2.0.1 lib/generators/opal/install/templates/initializer.rb