Sha256: b5a557dc87f03e2d73193925b608df6664b82ca2656e409f517a3f7a432fe6ae

Contents?: true

Size: 433 Bytes

Versions: 45

Compression:

Stored size: 433 Bytes

Contents

class ActiveScaffold::Bridges::TinyMce < ActiveScaffold::DataStructures::Bridge
  def self.install
    require File.join(File.dirname(__FILE__), "tiny_mce/helpers.rb")
  end

  def self.install?
    Object.const_defined? "TinyMCE"
  end
 
  def self.javascripts
    if ActiveScaffold.js_framework == :jquery
      ['tinymce-jquery', 'jquery/tiny_mce_bridge']
    else
      ['tinymce', 'prototype/tiny_mce_bridge']
    end
  end
end

Version data entries

45 entries across 45 versions & 2 rubygems

Version Path
active_scaffold-3.2.11 lib/active_scaffold/bridges/tiny_mce.rb
active_scaffold-3.2.10 lib/active_scaffold/bridges/tiny_mce.rb
active_scaffold-3.2.9 lib/active_scaffold/bridges/tiny_mce.rb
active_scaffold-3.2.8 lib/active_scaffold/bridges/tiny_mce.rb
active_scaffold-3.2.7 lib/active_scaffold/bridges/tiny_mce.rb
active_scaffold-3.2.6 lib/active_scaffold/bridges/tiny_mce.rb
active_scaffold-3.2.5 lib/active_scaffold/bridges/tiny_mce.rb
active_scaffold-3.2.4 lib/active_scaffold/bridges/tiny_mce.rb
active_scaffold-3.2.3 lib/active_scaffold/bridges/tiny_mce.rb
active_scaffold-sequel-0.5.1 lib/active_scaffold/bridges/tiny_mce.rb
active_scaffold-sequel-0.5.0 lib/active_scaffold/bridges/tiny_mce.rb
active_scaffold-3.2.2 lib/active_scaffold/bridges/tiny_mce.rb
active_scaffold-3.2.1 lib/active_scaffold/bridges/tiny_mce.rb
active_scaffold-sequel-0.4.0 lib/active_scaffold/bridges/tiny_mce.rb
active_scaffold-sequel-0.3.0 lib/active_scaffold/bridges/tiny_mce.rb
active_scaffold-3.2.0 lib/active_scaffold/bridges/tiny_mce.rb
active_scaffold-3.1.20 lib/active_scaffold/bridges/tiny_mce.rb
active_scaffold-3.1.19 lib/active_scaffold/bridges/tiny_mce.rb
active_scaffold-3.1.18 lib/active_scaffold/bridges/tiny_mce.rb
active_scaffold-3.1.17 lib/active_scaffold/bridges/tiny_mce.rb