Sha256: 16440f1b42efe20762070e214bb4823c0a4be63cc5ea2a8012895815d81b600b
Contents?: true
Size: 536 Bytes
Versions: 17
Compression:
Stored size: 536 Bytes
Contents
class ActiveScaffold::Bridges::TinyMce < ActiveScaffold::DataStructures::Bridge autoload :Helpers, 'active_scaffold/bridges/tiny_mce/helpers.rb' def self.install ActionView::Base.class_eval { include ActiveScaffold::Bridges::TinyMce::Helpers } end def self.install? Object.const_defined? "TinyMCE" end def self.javascripts case ActiveScaffold.js_framework when :jquery ['tinymce-jquery', 'jquery/tiny_mce_bridge'] when :prototype ['tinymce', 'prototype/tiny_mce_bridge'] end end end
Version data entries
17 entries across 17 versions & 1 rubygems