Skip to content

Commit

Permalink
jQuery minimizations
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Pilgrim committed May 18, 2011
1 parent c395679 commit 21c9303
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion about.html
Expand Up @@ -7,7 +7,7 @@
<style>
body{background-image:none}
h1{display:none}
#belong{margin:0 auto;width:558px;height:738px;background:#fff url(i/openclipart.org_media_files_Selanit_8331.png) no-repeat;border:1px solid white}
#belong{margin:0 auto;width:558px;height:738px;background:#fff url(i/openclipart.org_media_files_Selanit_8331.png) no-repeat;border:1px solid #fff}
#belong div{margin:375px 30px 0 40px}
abbr{font-variant:none;text-transform:none;letter-spacing:0}
#belong p{font-size:medium}
Expand Down
2 changes: 1 addition & 1 deletion canvas.html
Expand Up @@ -910,7 +910,7 @@ <h4>Did You Know?</h4>
initGame(document.getElementById("halmacanvas"), document.getElementById("halmamovecount"));
}

$(document).ready(function() {
$(function() {
if (!(!/*@cc_on!@*/0)) {
window.attachEvent('onload', draw);
} else {
Expand Down
2 changes: 1 addition & 1 deletion detect.html
Expand Up @@ -633,7 +633,7 @@ <h4>Did You Know?</h4>
function show_map_error() {
$("#live-geolocation").html('Unable to determine your location.');
}
$(document).ready(function() {
$(function() {
$("#live-canvas").html(supports(Modernizr.canvas, "the canvas API"));
$("#live-canvas-text").html(supports(Modernizr.canvastext, "the canvas text API"));
$("#live-video").html(supports(Modernizr.video, "HTML5 video"));
Expand Down
2 changes: 1 addition & 1 deletion geolocation.html
Expand Up @@ -370,7 +370,7 @@ <h4>Did You Know?</h4>
function show_map_error() {
$("#live-geolocation").html('Unable to determine your location.');
}
$(document).ready(function() {
$(function() {
if (geo_position_js.init()) {
$("#live-geolocation").html(supports(true, "geolocation") + ' <a href="#" onclick="lookup_location();return false">Click to look up your location</a>.');
} else {
Expand Down
2 changes: 1 addition & 1 deletion index.html
Expand Up @@ -59,7 +59,7 @@ <h3>Table of Contents</h3>
<script src=j/jquery.js></script>
<script src=j/dih5.js></script>
<script>
$(document).ready(function() {
$(function() {
$("ol").css("list-style", "none");
$("li").each(function(i) {
var num = i;
Expand Down

0 comments on commit 21c9303

Please sign in to comment.