Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
42 lines (32 sloc) 904 Bytes
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<title> - jsFiddle demo by ajpiano</title>
<script type='text/javascript' src='http://code.jquery.com/jquery-1.4.3.js'></script>
<link rel="stylesheet" type="text/css" href="/css/result-light.css"/>
<style type='text/css'>
body {
background-color: transparent;
padding: 10px;
}
div {
border:1px solid #000;
padding:1em;
}
</style>
<script type='text/javascript'>
$(function(){
var widget = {
log: function(e) {console.log(e); } // "A Tree Stump"
};
$("#foo").click(widget.click);
});
</script>
</head>
<body>
<div id="foo">
I am the Foo Div
</div>
</body>
</html>