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-sequel-0.7.1 lib/active_scaffold/bridges/tiny_mce.rb
active_scaffold-sequel-0.7.0 lib/active_scaffold/bridges/tiny_mce.rb
active_scaffold-sequel-0.6.2 lib/active_scaffold/bridges/tiny_mce.rb
active_scaffold-sequel-0.6.1 lib/active_scaffold/bridges/tiny_mce.rb
active_scaffold-3.3.3 lib/active_scaffold/bridges/tiny_mce.rb
active_scaffold-sequel-0.6.0 lib/active_scaffold/bridges/tiny_mce.rb
active_scaffold-3.3.2 lib/active_scaffold/bridges/tiny_mce.rb
active_scaffold-3.3.1 lib/active_scaffold/bridges/tiny_mce.rb
active_scaffold-3.3.0 lib/active_scaffold/bridges/tiny_mce.rb
active_scaffold-3.2.20 lib/active_scaffold/bridges/tiny_mce.rb
active_scaffold-3.3.0.rc3 lib/active_scaffold/bridges/tiny_mce.rb
active_scaffold-3.3.0.rc2 lib/active_scaffold/bridges/tiny_mce.rb
active_scaffold-3.2.19 lib/active_scaffold/bridges/tiny_mce.rb
active_scaffold-3.3.0.rc lib/active_scaffold/bridges/tiny_mce.rb
active_scaffold-3.2.17 lib/active_scaffold/bridges/tiny_mce.rb
active_scaffold-3.2.16 lib/active_scaffold/bridges/tiny_mce.rb
active_scaffold-3.2.15 lib/active_scaffold/bridges/tiny_mce.rb
active_scaffold-3.2.14 lib/active_scaffold/bridges/tiny_mce.rb
active_scaffold-3.2.13 lib/active_scaffold/bridges/tiny_mce.rb
active_scaffold-3.2.12 lib/active_scaffold/bridges/tiny_mce.rb