Mercurial > laserkard
annotate js-lib/buy2.js @ 92:614dca52e323 laserkard
basic drawing achieved
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Mon, 26 Jul 2010 13:01:47 -0400 |
parents | e48424b01e5f |
children |
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@86 | 12 |
rlm@86 | 13 |
rlm@86 | 14 |
rlm@79 | 15 var internalFunction = function() { |
rlm@79 | 16 |
rlm@79 | 17 }; |
rlm@79 | 18 |
rlm@79 | 19 this.publicFunction = function() { |
rlm@79 | 20 |
rlm@79 | 21 }; |
rlm@79 | 22 }; |
rlm@79 | 23 |
rlm@79 | 24 |
rlm@79 | 25 |
rlm@79 | 26 |
rlm@79 | 27 |
rlm@79 | 28 |
rlm@79 | 29 |
rlm@79 | 30 $(document).ready(function(){ |
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 |
rlm@79 | 41 |
rlm@79 | 42 |
rlm@79 | 43 // $("a").addClass("test"); |
rlm@79 | 44 // $("a").click(function(event){ |
rlm@79 | 45 // event.preventDefault(); |
rlm@79 | 46 // $(this).hide("slow"); |
rlm@79 | 47 // }); |