1. Reduced size of the json that gets sent to the client-side.
2. Removed unnecessary stop words removal code.
This commit is contained in:
parent
6209f2af82
commit
680f9ec2d4
3 changed files with 11 additions and 31 deletions
|
@ -38,7 +38,7 @@ var year;
|
|||
|
||||
var colors, prevColor, colorToAssign,
|
||||
colorToRemove, renderedObjects, URIToEntityRecord,
|
||||
setOfLabels, URIToCheckedEntities, stopWordsToCount;
|
||||
setOfLabels, URIToCheckedEntities, STOP_WORDS_FOR_TABLE;
|
||||
|
||||
var graphContainer;
|
||||
var tableDiv;
|
||||
|
@ -69,8 +69,11 @@ function initConstants() {
|
|||
URIToEntityRecord = {};
|
||||
setOfLabels = [];
|
||||
URIToCheckedEntities = {};
|
||||
stopWordsToCount = {};
|
||||
|
||||
STOP_WORDS_FOR_TABLE = ["Person", "Organization", "Agent"];
|
||||
|
||||
lastCachedAtDateTimes = [];
|
||||
|
||||
//options for Flot
|
||||
FlotOptions = {
|
||||
legend : {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue