Sha256: 8e2b70a40afcb27bc18259c555bcac5f3bb85ec94093210683592377a391fe8d

Contents?: true

Size: 987 Bytes

Versions: 16

Compression:

Stored size: 987 Bytes

Contents

require 'netzke/basepack/version'

require 'netzke/basepack/data_adapters/abstract_adapter'

if defined? ActiveRecord
  require 'netzke/basepack/active_record'
  require 'netzke/basepack/data_adapters/active_record_adapter'
end

require 'netzke/basepack/item_persistence'

module Netzke
  module Basepack
    mattr_accessor :with_icons

    mattr_accessor :icons_uri

    class << self

      # Called from netzke-basepack.rb
      def init
        %w[netzkeremotecombo xdatetime basepack].each do |name|
          Netzke::Core.ext_javascripts << "#{File.dirname(__FILE__)}/../../javascripts/#{name}.js"
        end

        Netzke::Core.ext_stylesheets << "#{File.dirname(__FILE__)}/../../stylesheets/basepack.css"
      end

      # Use this to confirure Basepack in the initializers, e.g.:
      #
      #     Netzke::Basepack.setup do |config|
      #       config.icons_uri = "/images/famfamfam/icons"
      #     end
      def setup
        yield self
      end
    end

  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
netzke-basepack-0.11.2 lib/netzke/basepack.rb
netzke-basepack-0.11.1 lib/netzke/basepack.rb
netzke-basepack-0.12.0 lib/netzke/basepack.rb
netzke-basepack-0.12.0.rc1 lib/netzke/basepack.rb
netzke-basepack-0.12.0.beta lib/netzke/basepack.rb
netzke-basepack-0.11.0 lib/netzke/basepack.rb
netzke-basepack-0.10.1 lib/netzke/basepack.rb
netzke-basepack-0.10.0 lib/netzke/basepack.rb
netzke-basepack-0.9.0 lib/netzke/basepack.rb
netzke-basepack-0.10.0.rc2 lib/netzke/basepack.rb
netzke-basepack-0.9.0.rc1 lib/netzke/basepack.rb
netzke-basepack-0.8.4 lib/netzke/basepack.rb
netzke-basepack-0.8.3 lib/netzke/basepack.rb
netzke-basepack-0.8.2 lib/netzke/basepack.rb
netzke-basepack-0.8.1 lib/netzke/basepack.rb
netzke-basepack-0.8.0 lib/netzke/basepack.rb