rem: } 
add: } 
context: qx.Proto._createTypeHtml = function(typeNode, packageBaseClass, defaultType, useShortName) {  if (useShortName == null) {    useShortName = true;  }  var types = [];  var typeHtml, typeDimensions, typeName, linkText, dims;    if (typeNode)  {    // read in children    if (typeNode.children && api.TreeUtil.getChild(typeNode, "types"))    {      for (var i=0, a=api.TreeUtil.getChild(typeNode, "types").children, l=a.length; i<l; i++)      {        if (a[i].type == "entry")        {          types.push(a[i].attributes);                  }      }    }    // read from attributes (alternative)    if (types.length == 0 && typeNode.attributes)     {      typeName = typeNode.attributes.instance ? typeNode.attributes.instance : typeNode.attributes.type;            if (typeName != undefined)       {        dims = typeNode.attributes.dimensions;                if (typeof dims == "number" && dims > 0) {          types.push({ "type" : typeName, "dimensions" : dims });        } else {          types.push({ "type" : typeName });        }      }    }  }  if (types.length == 0)   {    typeHtml = defaultType;  }   else   {    typeHtml = "";        if (types.length > 1) {      typeHtml += "("     }        for (var j=0; j<types.length; j++)    {      if (j>0) {        typeHtml += " | ";       }            typeName = types[j].type;      typeDimensions = types[j].dimensions;            if (api.ClassViewer.PRIMITIVES[typeName])       {        typeHtml += typeName;      }       else      {        linkText = typeName;        if (useShortName)         {          var lastDot = typeName.lastIndexOf(".");          if (lastDot != -1) {            linkText += " " + typeName.substring(lastDot + 1);          }        }        typeHtml += this._createItemLinkHtml(linkText, packageBaseClass, false, true);      }        if (typeDimensions)       {        for (var i = 0; i < parseInt(typeDimensions); i++) {          typeHtml += "[]";        }      }    }        if (types.length > 1) {      typeHtml += ")"     }  }  return typeHtml;}
meta: 1005	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1005/48522c9e71fa4cf160a30f63ee148d9bb8c492c7/ClassViewer.js/buggy/qooxdoo/frontend/api/source/class/api/ClassViewer.js