Sha256: 559650038a14bf2ee5345a8bd3fd74ea0501ed00abba52840fc90af46a1d5472

Contents?: true

Size: 937 Bytes

Versions: 5

Compression:

Stored size: 937 Bytes

Contents

require 'vapir-common/config'
require 'vapir-ie' # need the class to be set first

module Vapir
  # if vapir-ie is required before any other browser-specific library, then set the default browser to ie
  @base_configuration.default_browser = :ie unless @base_configuration.locally_defined_key?(:default_browser)

  # add ie-specific stuff to base, and then bring them in from env and yaml 
  @base_configuration.create_update(:ie_launch_new_process, false, :validator => :boolean)
  @base_configuration.create_update(:browser_visible, true, :validator => :boolean)
  if defined?($HIDE_IE)
    if config.warn_deprecated
      Kernel.warn "WARNING: The $HIDE_IE global is gone. Please use the new config framework, and unset that global to silence this warning."
    end
    Vapir.config.browser_visible=false
  end
  @configurations.update_from_source
  class IE
    @configuration_parent = Vapir.config
    extend Configurable
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
vapir-ie-1.10.1 lib/vapir-ie/config.rb
vapir-ie-1.10.0 lib/vapir-ie/config.rb
vapir-ie-1.9.0 lib/vapir-ie/config.rb
vapir-ie-1.8.1 lib/vapir-ie/config.rb
vapir-ie-1.8.0 lib/vapir-ie/config.rb