annotate 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 |
|
rev |
line source |
rlm@40
|
1 if(typeof alias != 'undefined' && typeof email != 'undefined' )
|
rlm@40
|
2 {
|
rlm@40
|
3 alias.remove();
|
rlm@40
|
4 email.remove();
|
rlm@40
|
5 }
|
rlm@40
|
6
|
rlm@40
|
7 alias = raphe.print(10, 150, 'James Bond', raphe.getFont('HelveticaNeue', 700), 75);
|
rlm@40
|
8
|
rlm@40
|
9
|
rlm@40
|
10 alias.attr('stroke', 'red');
|
rlm@40
|
11 alias.attr('fill', 'none');
|
rlm@40
|
12
|
rlm@40
|
13 email = raphe.print(270, 270, 'jbond@mi6.co.uk', raphe.getFont('HelveticaNeue', 700), 25);
|
rlm@40
|
14
|
rlm@40
|
15
|
rlm@40
|
16 email.attr('stroke', 'red');
|
rlm@40
|
17 email.attr('fill', 'none');
|