Sha256: d07767cc18c5c9995d40a920db3077e7894e322ebe581651fae6c19f8c4c0460

Contents?: true

Size: 983 Bytes

Versions: 2

Compression:

Stored size: 983 Bytes

Contents

# External dependencies
require 'netzke-core'
require 'searchlogic'
require 'will_paginate'

require 'netzke/active_record/basepack'
require 'netzke/ext'

%w{ models }.each do |dir|
  path = File.join(File.dirname(__FILE__), 'app', dir)
  $LOAD_PATH << path
  ActiveSupport::Dependencies.load_paths << path
  ActiveSupport::Dependencies.load_once_paths.delete(path)
end

# Make this plugin reloadable at app restart for easier development
ActiveSupport::Dependencies.load_once_paths.delete(File.join(File.dirname(__FILE__)))

# Include javascript & styles required by all basepack widgets. 
# These files will get loaded at the initial load of the framework (along with Ext and Netzke-core).
Netzke::Base.config[:javascripts] << "#{File.dirname(__FILE__)}/../javascripts/basepack.js"
Netzke::Base.config[:stylesheets] << "#{File.dirname(__FILE__)}/../stylesheets/basepack.css"
Netzke::Base.config[:stylesheets] << Netzke::Base.config[:ext_location] + "/examples/form/file-upload.css"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
netzke-basepack-0.5.5.1 lib/netzke-basepack.rb
netzke-basepack-0.5.5 lib/netzke-basepack.rb