Method: OMF::Web::Widget::Code.configure

Defined in:
lib/omf-web/widget/UNUSED/code/code.rb

.configure(options = {}) ⇒ Object



12
13
14
15
16
17
18
# File 'lib/omf-web/widget/UNUSED/code/code.rb', line 12

def self.configure(options = {})
  opts = options.dup
  opts[:scripts] = @@scripts

  currDir = File.dirname(__FILE__)
  opts[:resourcePath].insert(0, currDir)
end