Sha256: b012d7d12b7d3c0e9468dce5a76f35b56ab5b0a180c480b1afe399ca20a2a2a0
Contents?: true
Size: 528 Bytes
Versions: 9
Compression:
Stored size: 528 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/tiny_mce_bridge'] when :prototype ['tinymce', 'prototype/tiny_mce_bridge'] end end end
Version data entries
9 entries across 9 versions & 1 rubygems