--- a/unittests/tests/layout.js Fri Oct 21 14:07:07 2011 +0200
+++ b/unittests/tests/layout.js Fri Oct 21 17:22:44 2011 +0200
@@ -17,7 +17,7 @@
});
test("test custom init of layout manager", function() {
- var lay = new IriSP.LayoutManager({divId: "myDiv", width: 327, height: 542});
+ var lay = new IriSP.LayoutManager({container: "myDiv", width: 327, height: 542});
equal(lay._div, "myDiv", "the default div is set correctly");
equal(lay._width, 327, "the default width is set correctly");
equal(lay._height, 542, "the default height is set correctly");