class Docks::SymbolSources::JQuery
Public Instance Methods
path_for(symbol)
click to toggle source
# File lib/docks/symbol_sources/jquery_symbol_source.rb, line 14 def path_for(symbol); "http://api.jquery.com/" end
recognizes?(symbol, options = {})
click to toggle source
# File lib/docks/symbol_sources/jquery_symbol_source.rb, line 7 def recognizes?(symbol, options = {}) language = options.fetch(:language, nil) return false if language && Languages.file_type(language) != Types::Languages::SCRIPT symbol.downcase == "jquery" end