view 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 source
1 // $(document).ready(function(){
2 // $("a").click(function(event){
3 // alert("Thanks for visiting!");
4 // });
5 // });
10 var buy = new function() {
12 var internalFunction = function() {
14 };
16 this.publicFunction = function() {
18 };
19 };
27 $(document).ready(function(){
30 });
40 // $("a").addClass("test");
41 // $("a").click(function(event){
42 // event.preventDefault();
43 // $(this).hide("slow");
44 // });