I don't understand this:

I have this simple class.

qx.Class.define('CeldaIco', {
        extend: qx.ui.table.cellrenderer.Icon,

        //constructor: function() {
        //      arguments.callee.base.apply(this, arguments);
        //},
        members: {
                _identifyImage: function(cellInfo) {
                        return { imageWidth:16, imageHeight:16, url: 
cellInfo.value+'-peq' };
                }
        }
});

If I uncomment the constructor, I receive this error:

Invalid type of key "constructor" in class "CeldaIco"! The type of the key
must be "function Object() { [native code] }"!
if(typeof config[key]!==allowed[key]){throw new Error('Invalid type of key
"'+ke...

I wonder why.
Is this a bug?

Regards,
David


-- 
View this message in context: 
http://www.nabble.com/Invalid-type-of-key-%22constructor%22-tf3913786.html#a11096544
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to