qooxdoo / qxl.apiviewer

qooxdoo apiviewer app
https://qooxdoo.org/qxl.apiviewer
MIT License
5 stars 5 forks source link

Call method getPackage() to get the root package #18

Closed voger closed 5 years ago

voger commented 5 years ago

The method getParentPackage(name) was returning the __root property if the class was a child of root. The __root property is initialized to null and if the first class is a child of root (such as q) then the property was returned uninitialized. This PR changes to call getPackage("") so it always return the root package.