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=f6a8db89d391b57e3ddb05a1684ff1e16cfd7523;p=scpubgit%2Fstemmaweb.git Added todos. --- diff --git a/root/js/componentload.js b/root/js/componentload.js index 97c48c0..e05e5c5 100644 --- a/root/js/componentload.js +++ b/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() {