annotate 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
rev   line source
rlm@79 1 // $(document).ready(function(){
rlm@79 2 // $("a").click(function(event){
rlm@79 3 // alert("Thanks for visiting!");
rlm@79 4 // });
rlm@79 5 // });
rlm@79 6
rlm@79 7
rlm@79 8
rlm@79 9
rlm@79 10 var buy = new function() {
rlm@79 11
rlm@79 12 var internalFunction = function() {
rlm@79 13
rlm@79 14 };
rlm@79 15
rlm@79 16 this.publicFunction = function() {
rlm@79 17
rlm@79 18 };
rlm@79 19 };
rlm@79 20
rlm@79 21
rlm@79 22
rlm@79 23
rlm@79 24
rlm@79 25
rlm@79 26
rlm@79 27 $(document).ready(function(){
rlm@79 28
rlm@79 29
rlm@79 30 });
rlm@79 31
rlm@79 32
rlm@79 33
rlm@79 34
rlm@79 35
rlm@79 36
rlm@79 37
rlm@79 38
rlm@79 39
rlm@79 40 // $("a").addClass("test");
rlm@79 41 // $("a").click(function(event){
rlm@79 42 // event.preventDefault();
rlm@79 43 // $(this).hide("slow");
rlm@79 44 // });