Skip to content

Instantly share code, notes, and snippets.

View Bluebie's full-sized avatar

Phoenix Fox Bluebie

View GitHub Profile
// In this example, the private_thing is more like a private class variable than a private instance variable.
var F=function(){
var private_thing = '';
this['private_thing'] = function(){ return private_thing; }; // get…
this['set_private_thing'] = function(o){ private_thing = o; }; // set…
this['public_thing'] = '';
};
@Bluebie
Bluebie / index.xhtml
Created February 16, 2009 22:17 — forked from ELLIOTTCABLE/index.xhtml
weird thing elliott's doing
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="css/main.css" type="text/css" media="screen"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>This is new thought.</title>
<script type="text/javascript" charset="utf-8"
src="js/vendor/mootools-1.2.1-core-jm.js"></script>
<script type="text/javascript" charset="utf-8"