Sha256: 521f22262d5ebad14d2afccf01ec4559c52109729d370be9afee9e29195c1a4c

Contents?: true

Size: 392 Bytes

Versions: 17

Compression:

Stored size: 392 Bytes

Contents

# frozen_string_literal: true

require 'popper_js/version'

if defined?(::Rails)
  require 'popper_js/engine'
else
  gem_path = File.expand_path('..', File.dirname(__FILE__))
  assets_path = File.join(gem_path, 'assets')
  if defined?(::Sprockets)
    Sprockets.append_path(File.join(assets_path, 'javascripts'))
  elsif defined?(::Hanami)
    Hanami::Assets.sources << assets_path
  end
end

Version data entries

17 entries across 16 versions & 2 rubygems

Version Path
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/popper_js-2.11.8/lib/popper_js.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/popper_js-1.16.1/lib/popper_js.rb
popper_js-2.11.8 lib/popper_js.rb
popper_js-2.11.7 lib/popper_js.rb
popper_js-2.11.6 lib/popper_js.rb
popper_js-1.16.1 lib/popper_js.rb
popper_js-2.11.5 lib/popper_js.rb
popper_js-2.9.3 lib/popper_js.rb
popper_js-2.9.2 lib/popper_js.rb
popper_js-2.8.6 lib/popper_js.rb
popper_js-2.6.0 lib/popper_js.rb
popper_js-1.16.0 lib/popper_js.rb
popper_js-1.15.0 lib/popper_js.rb
popper_js-1.14.7 lib/popper_js.rb
popper_js-1.14.5 lib/popper_js.rb
popper_js-1.14.3 lib/popper_js.rb
popper_js-1.12.9 lib/popper_js.rb