mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-22 09:32:53 -06:00
Wide Coverage Demo: avoid errors if d3 or d3Tree can't be loaded
This commit is contained in:
@@ -168,7 +168,7 @@ wc.translate=function() {
|
|||||||
wc.e2.appendChild(r.img)
|
wc.e2.appendChild(r.img)
|
||||||
*/
|
*/
|
||||||
e.appendChild(wc.e2)
|
e.appendChild(wc.e2)
|
||||||
d3Tree(wc.bracketsToD3(r.jsontree))
|
if(window.d3 && window.d3Tree) window.d3Tree(wc.bracketsToD3(r.jsontree))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(wc.p /*&& so.rs.length>1*/) show_picks()
|
if(wc.p /*&& so.rs.length>1*/) show_picks()
|
||||||
|
|||||||
Reference in New Issue
Block a user