This file contains hidden or 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
// 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'] = ''; | |
}; |
This file contains hidden or 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
<?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" |