X-Git-Url: http://git.roojs.org/?p=app.Builder.js;a=blobdiff_plain;f=DependTree%2FBuildLists.js;h=da200d54b94abb3b84c412f0bce4f540a1be099e;hp=2c858ddea07f65acee62a73b1873c474441f9e3c;hb=bf9f22925f8a702691cce5bede9ffb86fe7e59b5;hpb=810364366db78503cd49e02a69cc701e33ff6460 diff --git a/DependTree/BuildLists.js b/DependTree/BuildLists.js index 2c858ddea..da200d54b 100644 --- a/DependTree/BuildLists.js +++ b/DependTree/BuildLists.js @@ -73,7 +73,7 @@ function BuildLists () { for (cls in classes) { var odata = classes[cls]; - methods[cls] = {} + //methods[cls] = {} implementations[odata.alias] = odata.titleType == 'Class' ? odata.childClasses : odata.implementedBy; //print(JSON.stringify(odata.methods,null,4)); @@ -93,6 +93,10 @@ function BuildLists () { allchildren.push(p.type); } + if (typeof(methods[cls]) == 'undefined') { + methods[cls] = {} + } + if (typeof(methods[cls][p.type]) == 'undefined') { methods[cls][p.type] = []; } @@ -129,6 +133,12 @@ function BuildLists () { } + + + + + + // we now have a list of classes / methods that can be used.. // we now need a ui to flag stuff as "don't bother with"