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