search for: listuff

Displaying 1 result from an estimated 1 matches for "listuff".

Did you mean: listbuff
2007 Jan 22
1
Prototype.js object.constructor exception
...g2, arg3) { //does some constructor related stuff } myObject.prototype.createSomething = function() { // do more boring stuff // return an Array; } manager.js ----------- var fakeHashMap = new Object(); fakeHashMap[''newmyobject''] = new myObject(foo, bar, baz); try { var liStuff = fakeHashMap[''newmyobject''].createSomething(); } catch (error) { // do nothing } ----------- When I make the createSomething call, I get an error from protoype.js (1.5) from Enumerable with something like uncaught exception: Permission denied to get property Object.constructor...