diff js-lib/buy2.js @ 79:343dc947f999 laserkard

read JavaSctipt: the good parts
author Robert McIntyre <rlm@mit.edu>
date Sun, 25 Jul 2010 01:33:22 -0400
parents
children e48424b01e5f
line wrap: on
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/js-lib/buy2.js	Sun Jul 25 01:33:22 2010 -0400
     1.3 @@ -0,0 +1,44 @@
     1.4 +// $(document).ready(function(){
     1.5 +// 	$("a").click(function(event){
     1.6 +// 		alert("Thanks for visiting!");
     1.7 +// 	    });
     1.8 +//     });
     1.9 +
    1.10 +
    1.11 +
    1.12 +
    1.13 +var buy = new function() {
    1.14 +
    1.15 +	var internalFunction = function() {
    1.16 +
    1.17 +	};
    1.18 +
    1.19 +	this.publicFunction = function() {
    1.20 +
    1.21 +	};
    1.22 +    };
    1.23 +
    1.24 +
    1.25 +
    1.26 +
    1.27 +
    1.28 +
    1.29 +
    1.30 +$(document).ready(function(){
    1.31 +	
    1.32 +
    1.33 +    });
    1.34 +
    1.35 +
    1.36 +
    1.37 +
    1.38 +
    1.39 +
    1.40 +
    1.41 +
    1.42 +
    1.43 +	// $("a").addClass("test");
    1.44 +	// $("a").click(function(event){
    1.45 +	// 	event.preventDefault();
    1.46 +	// 	$(this).hide("slow");
    1.47 +	//     });