genialis/genapp-jbrowse — pull request #6 by lukaw3d (2014-07-03 09:17:18+00:00)
Title: Cleanup a bit and TODOs

Still to do:

* Exposing functions

* instead of `$scope.$parent[attr.name]` & `this.addTrack = function`
* it would be nicer to do `$scope.genBrowserOptions.addTrack = function`

* Size

* add an option in genBrowserOptions to set a fixed sized

* instead of `window.height() - footer.height()`
this might be more correct ?

> prevElems = $element.parentsUntil('body').prevAll(':visible');
> nextElems = $element.parentsUntil('body').nextAll(':visible');
> $(window).height() - sum(prevElems.add(nextElems).map(function(){return $(this).height();}))

* dontLoad

* DontLoad seems to be assignet in async function `$scope.browser.getStore` but used in sync
it probably sets the value too late / reads it too soon