From: Joris van Zundert Date: Fri, 20 Jan 2012 14:06:54 +0000 (+0100) Subject: Added todos. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e2f647b92e23748a32b81bf25c12a6faed828051;hp=ea4e683f30880670fb4f892cacf7d846e8f52636;p=scpubgit%2Fstemmatology.git Added todos. --- diff --git a/stemmaweb/root/js/componentload.js b/stemmaweb/root/js/componentload.js index 97c48c0..e05e5c5 100644 --- a/stemmaweb/root/js/componentload.js +++ b/stemmaweb/root/js/componentload.js @@ -1,6 +1,10 @@ function loadTradition( textid ) { + + // TODO: scale #stemma_grpah both horizontally and vertically + // TODO: load svgs from SVG.Jquery (to make scaling react in Safari) $('#stemma_graph').load( "stemma/" + textid , function() { var stemma_svg_element = $('#stemma_graph svg').svg().svg('get').root(); + console.log( stemma_svg_element ); stemma_svg_element.height.baseVal.value = $('#stemma_graph').height(); }); $('#variant_graph').load( "variantgraph/" + textid , function() {