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:
cdtank 2011-04-14 16:53:52 +00:00
parent 6209f2af82
commit 680f9ec2d4
3 changed files with 11 additions and 31 deletions

View file

@ -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 : {