# This example does an AJAX lookup and is in CoffeeScript
$('.typeahead').typeahead(
# source can be a function
source: (typeahead, query) ->
# this function receives the typeahead object and the query string
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
info: Welcome to Nodejitsu adtiki | |
info: jitsu v0.9.7 | |
info: It worked if it ends with Nodejitsu ok | |
info: Executing command deploy | |
info: Skipping require-analyzer because noanalyze option is set | |
info: Skipping require-analyzer because noanalyze option is set | |
warn: Local package version appears to be old | |
warn: The package.json version will be incremented automatically | |
warn: About to write /Users/Administrator/Dropbox/adtiki/adtiki_server/package.json | |
data: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "rubygems" | |
require 'net/http' | |
require 'uri' | |
module WEBrick | |
class HTTPRequest | |
attr_writer :host, :port, :request_uri, :unparsed_uri, :request_line, :path | |
end | |
end |