class Element

Public Instance Methods

get_script(url, &block) click to toggle source
# File lib/wedge/utilis/element.rb, line 9
def get_script url, &block
  %x{
    $.getScript(url, function(){
      #{block.call if block_given?}
    });
  }
end