Skip to content

Instantly share code, notes, and snippets.

var PhotoSelector = Class.create();
PhotoSelector.prototype = {
initialize: function( name ) {
var init = new Benchmark();
init.start();
console.debug( "Beginning Initialization!" );
this.old = 0;
var totals = {
fourby: $("fourby"),
var Aspect = Class.create();
Aspect.prototype = {
initialize: function( clazz, before, after ) {
var members = Object.keys( clazz.prototype );
members.each(
function( name ) {
if( Object.isFunction( clazz.prototype[name] ) ) {
var oldName = "old_" + name;
clazz.prototype[oldName] = clazz.prototype[name];
clazz.prototype[name] = function() {
<script src="http://www.google.com/jsapi"></script>
<script>
google.load("prototype", "1.6.0.2");
</script>
def list = [1,2,3,4]
println list.class
dev map = [key1:"value1",key2:"value2"]
println map.class
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="keywords" content="page, site, title, keyword, doctype"/>
<meta name="author" content="Eric DeLabar"/>
<meta name="description" content="A short description of the page content."/>
<title>Descriptive Page Title - EricDeLabar.com</title>
<link rel="stylesheet" type="text/css" href="/style/screen.css" media="screen"/>
<!--[if lte IE 6]>
<link rel="stylesheet" type="text/css" href="/style/screen.css" media="screen"/>
<!-- [if lte IE 6]>
<link rel="stylesheet" type="text/css" href="/style/iefix_screen.css" media="screen"/>
<![endif]-->
<title>Descriptive Page Title - EricDeLabar.com</title>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=UTF-8"/>
</head>
<body>
...
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">