Curly braces: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 24: | Line 24: | ||
// Text | // Text | ||
var txt = brd.create('text', [ | var txt = brd.create('text', [ | ||
function() { return A.X()+2 | function() { return A.X()+2; }, | ||
function() { return A.Y()+2 | function() { return A.Y()+2; }, | ||
function() { return ""+B.Dist(A); } | function() { return ""+B.Dist(A); } | ||
]); | ]); |