Module: Wice::JsAdaptor

Defined in:
lib/js_adaptors/js_adaptor.rb,
lib/js_adaptors/jquery_adaptor.rb,
lib/js_adaptors/prototype_adaptor.rb

Overview

:nodoc:

Defined Under Namespace

Modules: Jquery, Prototype

Class Method Summary collapse

Class Method Details

.initObject

:nodoc:



5
6
7
8
9
10
11
# File 'lib/js_adaptors/js_adaptor.rb', line 5

def self.init  #:nodoc:
  if Wice::Defaults::JS_FRAMEWORK == :prototype
    include Wice::JsAdaptor::Prototype
  else
    include Wice::JsAdaptor::Jquery
  end
end