# HG changeset patch # User Robert McIntyre # Date 1280217061 14400 # Node ID 8a3615df4c18ff3c9f79a261b7de4d86db6283d8 # Parent a0b768d3494a71a2499d44cccd778cf00b5f51ac saving progress, going to add styles diff -r a0b768d3494a -r 8a3615df4c18 js-lib/buy3.js --- a/js-lib/buy3.js Mon Jul 26 23:39:03 2010 -0400 +++ b/js-lib/buy3.js Tue Jul 27 03:51:01 2010 -0400 @@ -31,10 +31,9 @@ {"fill" : "#0F0"});}), "email" : (function (text, paper){ return paper.print(50,50,text,helvetica_I,40).attr( - {"fill" : "red"});}) - - - }}; + {"fill" : "red"});})} + + }; @@ -219,17 +218,10 @@ var style = null; return (function () { if (style !== order.style){ - - for ( var property in card ) - { - alert( property ); + for ( var property in card ){ if (!Cards[order.style][(deref(property))]){ - $("#user" + "-" + property).toggle(400);} - } - - - style = order.style; } - + $("#user" + "-" + property).toggle(400);}} + style = order.style;} });})(); var display_text_update = (function (){ @@ -276,12 +268,6 @@ - - - - - - $(document).ready(function() { Buy.init(); Buy.update();