comparison js-lib/buy3.js @ 93:69b4defd835d laserkard

saving work
author Robert McIntyre <rlm@mit.edu>
date Mon, 26 Jul 2010 18:19:34 -0400
parents 614dca52e323
children 0f19af92260e
comparison
equal deleted inserted replaced
92:614dca52e323 93:69b4defd835d
190 var name = null; 190 var name = null;
191 191
192 return (function () { 192 return (function () {
193 193
194 if (name !== card.name.text){ 194 if (name !== card.name.text){
195 //alert("whatev"); 195
196 card.name.ref.remove(); 196 card.name.ref.remove();
197 card.name.ref = 197 card.name.ref =
198 display.print(10,10,card.name.text, 198 display.print(10,10,card.name.text,
199 display.getFont('HelveticaNeue',700), 25).attr( 199 display.getFont('HelveticaNeue',700), 25).attr(
200 {"fill" : "#FFFFFF"}); 200 {"fill" : "#FFFFFF"});
206 206
207 })(); 207 })();
208 208
209 209
210 210
211
212 // var display_text_update = (function (){
213 // var style;
214 // var name;
215 // var occupation;
216 // var phone;
217 // var email;
218 // var company;
219 // var website;
220
221 // return (function (){
222 // if (style !== order.style) {}
223
224
225 // })();
226
227 var update = (function (){ 211 var update = (function (){
228 color_select_update(); 212 color_select_update();
229 display_color_update(); 213 display_color_update();
230 display_text_update(); 214 display_text_update();
231 $("#debug").html(JSON.stringify({name : card.name.text, email : card.email.text})); 215 $("#debug").html(JSON.stringify({name : card.name.text, email : card.email.text}));