Mercurial > laserkard
view defaults/bold-default.js @ 106:5b0753c6f34d laserkard tip
updated to newest compojure and a simpler syntax
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Mon, 27 Sep 2010 20:22:58 -0400 |
parents | 1ac1409ea68c |
children |
line wrap: on
line source
1 if(typeof alias != 'undefined' && typeof email != 'undefined' )2 {3 alias.remove();4 email.remove();5 }7 alias = raphe.print(10, 150, 'James Bond', raphe.getFont('HelveticaNeue', 700), 75);10 alias.attr('stroke', 'red');11 alias.attr('fill', 'none');13 email = raphe.print(270, 270, 'jbond@mi6.co.uk', raphe.getFont('HelveticaNeue', 700), 25);16 email.attr('stroke', 'red');17 email.attr('fill', 'none');