context: function cmgr_list (partialName){    /* returns array of command objects which look like |partialName|, or     * all commands if |partialName| is not specified */    if ((typeof partialName == "undefined") ||        (String(partialName) == ""))        return this.commands;    var ary = new Array();    for (var i in this.commands)    {        if (this.commands[i].name.indexOf(partialName) == 0)            if (partialName.length == this.commands[i].name.length)                /* exact match */                return [this.commands[i]];            else                ary.push (this.commands[i]);    }    return ary;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/e014e7e6630afe8d70caa7198725aea7c354a0db/command-manager.js/buggy/extensions/venkman/resources/content/command-manager.js