Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

adding test for text

  • Loading branch information...
commit e9d74ee119c25060c655d0c209f42636287c8fba 1 parent 1c90e96
@dnewcome authored
Showing with 25 additions and 0 deletions.
  1. +25 −0 tests/text.html
View
25 tests/text.html
@@ -0,0 +1,25 @@
+<!doctype html>
+<html>
+<head>
+ <script src="../donatello.js" type="text/javascript"></script>
+ <script src="../text.js" type="text/javascript"></script>
+ <script>
+ var circle;
+ function main() {
+ var paper = Donatello.paper('paper-div', 20, 20, 600, 600 );
+
+ text = paper.text( 25, 25, "foo" );
+ }
+ </script>
+ <style>
+ #paper-div {
+ border: 1px solid black
+ }
+ </style>
+
+</head>
+<body onload='main();'>
+ <div id="paper-div">
+ </div>
+</body>
+</html>
Please sign in to comment.
Something went wrong with that request. Please try again.