commit | 311ca65976f171eec8967764ab3f44bfd613c29c | [log] [tgz] |
---|---|---|
author | Akron <nils@diewald-online.de> | Mon Jun 26 20:39:56 2017 +0200 |
committer | Akron <nils@diewald-online.de> | Mon Jun 26 20:39:56 2017 +0200 |
tree | c4846b57c9f345f8bc15cd9711135893ade39d99 | |
parent | f3d856cc57b4fb89db1392534e54dfb1f9b1b04b [diff] [blame] |
Fixed text sigle legacy support Change-Id: I227b855b80bf1bc7d9c59e1d2347adfed622774b
diff --git a/dev/demo/alldemo.js b/dev/demo/alldemo.js index 28d683b..427dbdb 100644 --- a/dev/demo/alldemo.js +++ b/dev/demo/alldemo.js
@@ -542,6 +542,9 @@ // Parse and show the table // Override getMatchInfo API call KorAP.API.getMatchInfo = function(match, callObj, cb) { + + console.log(match); + if (callObj["spans"] !== undefined && callObj["spans"] === true) { cb({ "snippet": treeSnippet2 }); }