var reltypes = {};
var readingdata = {};
-function getRelativePath() {
- return basepath;
-}
-
function getTextURL( which ) {
return basepath + textid + '/' + which;
}
}
function add_relations( callback_fn ) {
- var basepath = getRelativePath();
var textrelpath = getTextURL( 'relationships' );
$.getJSON( basepath + 'definitions', function(data) {
var rel_types = data.types.sort();