2 parent
.logTitle("Child 2 loaded.");
3 parent
.test("getObjectOfChild1", "myVal");
4 parent
.test("getGlobalOfChild1", "myGlobalVal");
6 Object
.prototype.myVal
= "child2";
11 parent
.logTitle("Child 2 objects set.");
13 parent
.getObjectOfChild2 = function()
18 parent
.getGlobalOfChild2 = function()
23 parent
.test("getObjectOfChild1", "myVal");
24 parent
.test("getGlobalOfChild1", "myGlobalVal");
25 parent
.test("getObjectOfChild2", "myVal");
26 parent
.test("getGlobalOfChild2", "myGlobalVal");
27 parent
.test("getObjectOfParent", "myVal");
28 parent
.test("getGlobalOfParent", "myGlobalVal");