Sha256: 6930c3b6895d3a336b1bb1d53ecfc5cdf3e1587fedf53a04af349cf91c116445
Contents?: true
Size: 776 Bytes
Versions: 18
Compression:
Stored size: 776 Bytes
Contents
ActiveScaffold::Bridges.bridge "CalendarDateSelect" do install do # check to see if the old bridge was installed. If so, warn them # we can detect this by checking to see if the bridge was installed before calling this code if ActiveScaffold::Config::Core.instance_method_names.include?("initialize_with_calendar_date_select") raise RuntimeError, "We've detected that you have active_scaffold_calendar_date_select_bridge installed. This plugin has been moved to core. Please remove active_scaffold_calendar_date_select_bridge to prevent any conflicts" end require File.join(File.dirname(__FILE__), "lib/as_cds_bridge.rb") end install? do Object.const_defined?(name) && ActiveScaffold.js_framework == :prototype end end
Version data entries
18 entries across 18 versions & 1 rubygems