Sha256: bd3c86370a17f7165aeff3f8a353250dcd8c35607309b8e9ab5716bc94f46c63
Contents?: true
Size: 448 Bytes
Versions: 29
Compression:
Stored size: 448 Bytes
Contents
class ActiveScaffold::Bridges::Chosen < ActiveScaffold::DataStructures::Bridge def self.install require File.join(File.dirname(__FILE__), 'chosen/helpers.rb') end def self.install? super && [:jquery, :prototype].include?(ActiveScaffold.js_framework) end def self.stylesheets 'chosen' end def self.javascripts ["chosen-#{ActiveScaffold.js_framework}", "#{ActiveScaffold.js_framework}/active_scaffold_chosen"] end end
Version data entries
29 entries across 29 versions & 1 rubygems