inheritance with $.widget and options of type array

inheritance with $.widget and options of type array

I'm trying to use inheritance with the widget factory but my options aren't what i'm expecting.  I'm not sure if my understanding is off or if there is an issue.  I'm hoping someone can shed some light on what i should be expecting and why.

I've created a jsfiddle link which uses 'console.dir', you'll need firebug to output the strangeness.

http://jsfiddle.net/6CWEJ/6/

You'll notice that type is correct but validation[] has that of the last declared subclass.
  1. $.widget("list.operandBase", {
        options: {
            type: "operand",
            errorElement: null,
            errorMessage: '',
            validation: [/^\S+$/],
            validationMessage: ["Required"]
        }
    });

    $.widget("list.operandLibrary", $.list.operandBase, {
        options: {
            type: "Library",
            validation: [/^\S+$/, /^-?\d+$/],
            validationMessage: ["Required", "Select a library"]                    
        }
    });
    $.widget("list.operandString", $.list.operandBase, { options: {type: "String"} });
















      Test output has been included in my attached image.

andrew