author | Ken Ryall |
Tue, 13 Apr 2010 15:27:45 -0600 | |
changeset 1208 | 54c7e69fdb2c |
parent 0 | fb279309251b |
permissions | -rw-r--r-- |
// this test uses only globals function Test() { } Test.prototype.getInstance = function() { return instance; } Test.prototype.getProperties = function() { return properties; } Test.prototype.getNamePlusFoo = function() { return properties["name"] + "foo"; } Test.prototype.getSizeFormatted = function() { return properties["size"].x + "," + properties["size"].y; }