Reduce Mootools components.

This commit is contained in:
Paulo Gustavo Veiga
2014-03-04 20:47:23 -03:00
parent 4c6484ff00
commit 4c83b27e6f
50 changed files with 10255 additions and 1248 deletions

View File

@@ -32,7 +32,7 @@ function setUp()
{
debug("Setting up workspace");
workspace = new web2d.Workspace();
workspace.addItAsChildTo(document.id("divWorkspace"));
workspace.addItAsChildTo($('#divWorkspace').first());
}
function testGettersTest()
@@ -119,8 +119,8 @@ function testAppendAndRemoveTest()
// Append elements ..
var elipse = new web2d.Elipse();
var group = new web2d.Group();
group.appendChild(elipse);
workspace.appendChild(group);
group.append(elipse);
workspace.append(group);
// Remove elements ..
workspace.removeChild(group);