summaryrefslogtreecommitdiffstats
path: root/ksvg/test/ecma
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:56:05 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:56:05 -0600
commit74c05bbf9d92e43a6cf3799355b5f3598884409e (patch)
tree9371e52e1564e08fd280f28e49981ffeb881b9d2 /ksvg/test/ecma
parent45f529de247fc4b3662f6b474abe03fe904306ec (diff)
downloadtdegraphics-74c05bbf9d92e43a6cf3799355b5f3598884409e.tar.gz
tdegraphics-74c05bbf9d92e43a6cf3799355b5f3598884409e.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'ksvg/test/ecma')
-rw-r--r--ksvg/test/ecma/bbox/bbox.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/ksvg/test/ecma/bbox/bbox.js b/ksvg/test/ecma/bbox/bbox.js
index 88eaa592..2d692694 100644
--- a/ksvg/test/ecma/bbox/bbox.js
+++ b/ksvg/test/ecma/bbox/bbox.js
@@ -13,12 +13,12 @@ function bbox_loop(drawit, number)
for(var i = 0; i < number; i++)
{
- var tqshape = doc.getElementById("test-" + i);
- var bbox = tqshape.getBBox();
+ var shape = doc.getElementById("test-" + i);
+ var bbox = shape.getBBox();
if(drawit == "true")
{
- draw_it(doc, bbox, tqshape, i + 1);
+ draw_it(doc, bbox, shape, i + 1);
}
else
{
@@ -27,13 +27,13 @@ function bbox_loop(drawit, number)
}
}
-function do_string(tqshape, number)
+function do_string(shape, number)
{
- var string = "\nShape " + number + "\nX = " + tqshape.x + "\nY = " + tqshape.y + "\nW = " + tqshape.width + "\nH = " + shape.height;
+ var string = "\nShape " + number + "\nX = " + shape.x + "\nY = " + shape.y + "\nW = " + shape.width + "\nH = " + shape.height;
alert(string);
}
-function draw_it(doc, bbox, tqshape, number)
+function draw_it(doc, bbox, shape, number)
{
var element = doc.createElement("rect");
element.setAttribute("x", bbox.x);
@@ -45,7 +45,7 @@ function draw_it(doc, bbox, tqshape, number)
element.setAttribute("stroke-width", "3");
element.setAttribute("id", "bbox" + number);
- tqshape.getParentNode().appendChild(element);
+ shape.getParentNode().appendChild(element);
}
function gen_buttons(evt, number)