- Describe why jQuery exists
- Describe the difference between javascript and jQuery
- Include jQuery locally or from a CDN
- Include jquery from a source local to the project
- Describe that $ is a function that returns a jQuery object
- Write syntactically valid document ready statements
- Explain what
$(fn) / $ (document).ready(fn) does and why it’s useful
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
MONGOHQ_URL=mongodb://heroku:c-rJompa5mbNDiERpkBJMfKXbfSazY_YaBGqrnFzmwgao-WRaPHaU_ZED_TU7zp2C8lp3OV1azqFINmN6EQ27A@candidate.37.mongolayer.com:10928,candidate.13.mongolayer.com:11150/app40069500 | |
============== | |
forego | starting web.1 on port 5000 | |
web.1 | | |
web.1 | explore/bin/www | |
web.1 | connected to mongodb://heroku:c-rJompa5mbNDiERpkBJMfKXbfSazY_YaBGqrnFzmwgao-WRaPHaU_ZED_TU7zp2C8lp3OV1azqFINmN6EQ27A@candidate.37.mongolayer.com:10928,candidate.13.mongolayer.com:11150/app40069500 | |
web.1 | |
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
2015-08-28T04:26:16.794368+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=fatalshootings.herokuapp.com request_id=d1200171-cdb8-4cb0-975f-1f1ad9beee5a fwd="67.134.193.84" dyno= connect= service= status=503 bytes= | |
2015-08-28T04:26:17.188049+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=fatalshootings.herokuapp.com request_id=a19059aa-f9cf-42a3-8737-fc8068e66fe9 fwd="67.134.193.84" dyno= connect= service= status=503 bytes= |
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
[] |
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
function minErr(module, ErrorConstructor) { | |
ErrorConstructor = ErrorConstructor || Error; | |
return function() { | |
var code = arguments[0], | |
prefix = '[' + (module ? module + ':' : '') + code + '] ', | |
template = arguments[1], | |
templateArgs = arguments, | |
message, i; | |
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
function minErr(module, ErrorConstructor) { | |
ErrorConstructor = ErrorConstructor || Error; | |
return function() { | |
var code = arguments[0], | |
prefix = '[' + (module ? module + ':' : '') + code + '] ', | |
template = arguments[1], | |
templateArgs = arguments, | |
message, i; | |
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
yonas@yonas:~/Documents/code/MCtut/commandsapp$ rails s | |
=> Booting WEBrick | |
=> Rails 4.2.0 application starting in development on http://localhost:3000 | |
=> Run `rails server -h` for more startup options | |
=> Ctrl-C to shutdown server | |
Exiting | |
/usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.2.0/lib/active_support/inflector/methods.rb:261:in `const_get': uninitialized constant U (NameError) | |
from /usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.2.0/lib/active_support/inflector/methods.rb:261:in `block in constantize' | |
from /usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.2.0/lib/active_support/inflector/methods.rb:259:in `each' | |
from /usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.2.0/lib/active_support/inflector/methods.rb:259:in `inject' |
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
--- | |
--- | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Seattle Data Day | Code for Seattle</title> | |
<meta name="description" content="A Seattle, WA event for CodeAcross and International Open Data Day. Seattle Data Day, on February 21, is a full day of events for incubating civic innovation in our city. We’re bringing together local governments, businesses, schools, and community organizations, as well as social service organizations, media outlets, foundations, and the public to collaborate on civic innovation that will help our residents and improve our region."> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
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
yonas@yonas:~/Documents/code/vailroom/basehtml$ yo --version && echo $PATH $NODE_PATH && node -e 'console.log(process.platform, process.versions)' && cat Gruntfile.js | |
1.3.3 | |
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games /usr/lib/nodejs:/usr/lib/node_modules:/usr/share/javascript:/home/yonas/.node/lib/node_modules | |
linux { http_parser: '1.0', | |
node: '0.10.33', | |
v8: '3.14.5.9', | |
ares: '1.9.0-DEV', | |
uv: '0.10.29', | |
zlib: '1.2.3', | |
modules: '11', |