Last active
December 20, 2015 02:19
-
-
Save stomatocode/6055862 to your computer and use it in GitHub Desktop.
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
# 1 Dan and Daniel | |
$(title) | |
ReferenceError: title is not defined | |
$(.title) | |
SyntaxError: Unexpected token . | |
$("title") | |
[ | |
<title>Socrates - Dev Bootcamp - Welcome Index</title> | |
] | |
$("title").change(function() | |
SyntaxError: Unexpected token } | |
$("title").change(function() { | |
SyntaxError: Unexpected end of input | |
$("title").change(function() { changeMe. | |
SyntaxError: Unexpected token } | |
$('.brand span') | |
[] | |
$('.brand span').text | |
function (e){return v.access(this,function(e){return e===t?v.text(this):this.empty().append((this[0]&&this[0].ownerDocument||i).createTextNode(e))},null,e,arguments.length)} | |
$('.brand span2') | |
[] | |
$('a .brand span2') | |
[] | |
$('a .brand span2') | |
[] | |
('h1') | |
"h1" | |
('h1').hide | |
undefined | |
('h1').(this).css('color', 'red'); | |
SyntaxError: Unexpected token ( | |
('h1').this.css('color', 'red'); | |
#2 Dan Hossom solo: | |
$("user") | |
[] | |
$(".user") | |
[ | |
<div class="user"> | |
<img alt="Daniel L Hossom" src="https://secure.gravatar.com/avatar/ee433ac26a1e8427956502289ff5c65b.png?r=PG&d=mm&s=150" title="Daniel L Hossom"> | |
</div> | |
] | |
$(".user img") | |
[ | |
<img alt="Daniel L Hossom" src="https://secure.gravatar.com/avatar/ee433ac26a1e8427956502289ff5c65b.png?r=PG&d=mm&s=150" title="Daniel L Hossom"> | |
] | |
$(".user img").change(function('src') {'src="http://calmingmanatee.com/img/manatee30.jpg"'} | |
SyntaxError: Unexpected string | |
$(".user img").change(function('src') {src="http://calmingmanatee.com/img/manatee30.jpg"} | |
SyntaxError: Unexpected string | |
$(".user img").attr('src', 'http://calmingmanatee.com/img/manatee30.jpg') | |
[ | |
<img alt="Daniel L Hossom" src="http://calmingmanatee.com/img/manatee30.jpg" title="Daniel L Hossom"> | |
] | |
#3 Jake and Dan | |
$('a.btn.btn-warning') | |
[ | |
<a href="/users/324/edit" class="btn btn-warning">Edit My Profile</a> | |
] | |
$('a.btn.btn-warning').mouseover(function(){$(this).attr('href', 'www.nothting.com')}); | |
[ | |
<a href="/users/324/edit" class="btn btn-warning">Edit My Profile</a> | |
] | |
$('a.btn.btn-warning') | |
[ | |
<a href="/users/324/edit" class="btn btn-warning">Edit My Profile</a> | |
] | |
$('a.btn.btn-warning') | |
[ | |
<a href="www.nothting.com" class="btn btn-warning">Edit My Profile</a> | |
] | |
$('div') | |
[ | |
<div id="wrap">…</div> | |
, | |
<div id="main">…</div> | |
, | |
<div id="header-wrapper">…</div> | |
, | |
<div class="navbar navbar-fixed-top">…</div> | |
, | |
<div class="navbar-inner">…</div> | |
, | |
<div class="container">…</div> | |
, | |
<div class="nav-collapse">…</div> | |
, | |
<div class="clearfix" id="repl" style="margin: 0px auto; height: 0px;">…</div> | |
, | |
<div class="container">…</div> | |
, | |
<div class="repl-editor">…</div> | |
, | |
<div style="margin:0;padding:0;display:inline">…</div> | |
, | |
<div id="repl_editor_ace" class=" ace_editor ace-eclipse" style="position: absolute; height: 250px; width: 530px;">…</div> | |
, | |
<div class="ace_gutter">…</div> | |
, | |
<div class="ace_layer ace_gutter-layer ace_folding-enabled" style="margin-top: 0px; height: 286px;">…</div> | |
, | |
<div class="ace_gutter-cell " title style="height:18px;">1</div> | |
, | |
<div class="ace_scroller" style="height: 250px; left: 41px; width: 474px;">…</div> | |
, | |
<div class="ace_content" style="margin-top: 0px; width: 474px; height: 286px;">…</div> | |
, | |
<div class="ace_layer ace_marker-layer">…</div> | |
, | |
<div class="ace_active_line" style="height:18px;width:466px;top:0px;left:0px;"></div> | |
, | |
<div class="ace_print_margin_layer">…</div> | |
, | |
<div class="ace_print_margin" style="left: 564px; visibility: hidden;"></div> | |
, | |
<div class="ace_layer ace_text-layer" style="padding: 0px 4px;">…</div> | |
, | |
<div class="ace_line" style="height:18px"></div> | |
, | |
<div class="ace_layer ace_marker-layer"></div> | |
, | |
<div class="ace_layer ace_cursor-layer">…</div> | |
, | |
<div class="ace_cursor ace_hidden" style="left: 4px; top: 0px; width: 7px; height: 18px;"></div> | |
, | |
<div class="ace_sb" style="width: 20px; height: 250px;">…</div> | |
, | |
<div style="height: 18px;"></div> | |
, | |
<div class="repl-output-container">…</div> | |
, | |
<div id="container-wrapper">…</div> | |
, | |
<div class="container">…</div> | |
, | |
<div id="messages-container"> | |
</div> | |
, | |
<div class="content" id="main-content">…</div> | |
, | |
<div class="row">…</div> | |
, | |
<div class="row">…</div> | |
, | |
<div class="pull-right">…</div> | |
, | |
<div class="profile row">…</div> | |
, | |
<div class="span3">…</div> | |
, | |
<div class="user">…</div> | |
, | |
<div class="span9">…</div> | |
, | |
<div class="row">…</div> | |
, | |
<div class="tab-content">…</div> | |
, | |
<div class="tab-pane" id="socrates-activity"> | |
activity feed here | |
</div> | |
, | |
<div class="tab-pane active" id="about">…</div> | |
, | |
<div id="footer-wrapper">…</div> | |
, | |
<div class="footer"></div> | |
, | |
<div class="modal hide" id="popup">…</div> | |
, | |
<div class="model-header">…</div> | |
, | |
<div class="modal-body">…</div> | |
, | |
<div id="popup-body"></div> | |
, | |
<div class="modal-footer"></div> | |
, | |
<div class="hidden" id="ajax-indicator">…</div> | |
, | |
<div style="height: auto; width: auto; top: -40000px; left: -40000px; visibility: hidden; position: absolute; overflow: visible; white-space: nowrap; font-family: Monaco, Menlo, 'Ubuntu Mono', 'Droid Sans Mono', Consolas, monospace; font-size: 12px; font-weight: normal; font-style: normal; line-height: 18px;">…</div> | |
] | |
function(variable){ | |
SyntaxError: Unexpected token ( | |
@vaialble = variable | |
SyntaxError: Unexpected token ILLEGAL | |
var arrray = [] | |
undefined | |
('h1').(this).css('color', 'red'); | |
SyntaxError: Unexpected token ( | |
$('.span9') | |
[ | |
<div class="span9"> | |
<h1> | |
" | |
Daniel L Hossom | |
" | |
<small>Island Foxes 2013</small> | |
</h1> | |
<dl class="dl-horizontal">…</dl> | |
</div> | |
] | |
$('.span9 h1') | |
[ | |
<h1> | |
" | |
Daniel L Hossom | |
" | |
<small>Island Foxes 2013</small> | |
</h1> | |
] | |
$('.span9 h1').text() | |
" | |
Daniel L Hossom | |
Island Foxes 2013 | |
" | |
$('.span9 h1').text(); | |
" | |
Daniel L Hossom | |
Island Foxes 2013 | |
" | |
$('.span9 h1').text().first() | |
TypeError: Object Daniel L Hossom Island Foxes 2013 has no method 'first' | |
$('.span9 h1').text().first | |
undefined | |
$('.span9 h1').text.first | |
undefined | |
$('.span9 h1 small').text() | |
"Island Foxes 2013" | |
$('.span9 h1 small').delete() | |
TypeError: Object [object Object] has no method 'delete' | |
$('.span9 h1').remove('small') | |
[ | |
<h1>…</h1> | |
] | |
#4 Nicholas and Dan | |
$('.dropdown-menu li #logout-491').attr('href','http://www.ytmnd.com') | |
#5 Nicholas and Dan | |
$('div .span4').mouseover(function() { $(this).hide() }); | |
[ | |
<div class="span4">…</div> | |
] | |
$('div .span4').mouseout(function() { $(this).show() }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment