Sha256: f4159ac216b4a3de022d927a32f99e3528f0ad54a3c7e0bf22c4c47f9fca60ca

Contents?: true

Size: 794 Bytes

Versions: 5

Compression:

Stored size: 794 Bytes

Contents

# Use this hook to configure Ropenlayer
Ropenlayer.setup do |config|
  # Default JS Helper
  # Ropenlayer needs some extra Js functions in order to create and perform some operations over dom elements
  # Ropenlayer comes with 2 Js helpers bases on both popular javascript frameworks: jquery and prototype
  # By default, if none is set, Jquery is used. Set default_js_helper to Ropenlayer::JsHelper::Prototype to enable prototype
  # Of course, you can use custom one. See Ropenlayer::JsHelper::Prototype or Ropenlayer::JsHelper::Jquery to see which methods are called 
  # and configure your helper to provide this funcionality (almost are: hide and show elements, create div and a elements and update / insert html in dom  
  # config.js_helper = Ropenlayer::JsHelper::Prototype
end
  
  
  

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ropenlayer-0.3.5 lib/generators/ropenlayer/install/templates/config/initializers/ropenlayer.rb
ropenlayer-0.3.4 lib/generators/ropenlayer/install/templates/config/initializers/ropenlayer.rb
ropenlayer-0.3.3 lib/generators/ropenlayer/install/templates/config/initializers/ropenlayer.rb
ropenlayer-0.3.1 lib/generators/ropenlayer/install/templates/config/initializers/ropenlayer.rb
ropenlayer-0.3.0 lib/generators/ropenlayer/install/templates/config/initializers/ropenlayer.rb