2012-08-23 12:43:06 +00:00
|
|
|
require "bullseye/version"
|
|
|
|
require 'bullseye/engine' if defined?(Rails::Engine)
|
|
|
|
require 'bullseye/tilt/bullseye_template'
|
2012-08-23 13:43:15 +00:00
|
|
|
require 'bullseye/sass/bullseye_functions'
|
2012-08-29 18:28:15 +00:00
|
|
|
|
|
|
|
module Bullseye
|
|
|
|
class Configuration
|
2012-09-19 15:32:56 +00:00
|
|
|
attr_accessor :js_controller_search, :js_action_search, :css_selector, :html_tag, :fuzzy_search
|
2012-08-29 18:28:15 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class << self
|
|
|
|
def config
|
|
|
|
@config ||= Configuration.new
|
|
|
|
end
|
|
|
|
|
|
|
|
def configure
|
|
|
|
block_given? ? yield(config) : config
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
2012-10-02 19:48:01 +00:00
|
|
|
|