Sha256: 619be47056611f784fab56dcac1d04b020f13b1cafe4f849022a4d16f584a483

Contents?: true

Size: 755 Bytes

Versions: 1

Compression:

Stored size: 755 Bytes

Contents

module Workarea
  module Accordions
    class Engine < ::Rails::Engine
      include Workarea::Plugin
      isolate_namespace Workarea::Accordions

      initializer 'workarea.accordions' do
        Plugin.append_javascripts(
          'storefront.dependencies',
          'jquery-ui/widgets/accordion'
        )

        Plugin.append_javascripts(
          'storefront.modules',
          'workarea/storefront/accordions/modules/accordions'
        )

        Plugin.append_javascripts(
          'storefront.config',
          'workarea/storefront/accordions/config'
        )

        Plugin.append_stylesheets(
          'storefront.components',
          'workarea/jquery_ui/storefront/accordions/ui_accordion'
        )
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
workarea-accordions-3.0.3 lib/workarea/accordions/engine.rb