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