From 49801ba2c99c0397ede59d46a2dc4d4f8c94f6cb Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Sun, 28 Sep 2014 14:05:06 +0300 Subject: s/TextAnalyser2/textAnalyser2/ plus use function as vars --- scripts/textanalysis.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/textanalysis.js') diff --git a/scripts/textanalysis.js b/scripts/textanalysis.js index ba35c8fe..7ac32277 100644 --- a/scripts/textanalysis.js +++ b/scripts/textanalysis.js @@ -39,7 +39,7 @@ function autocompleteCallback(request, response_callback) } /* - * TextAnalyser2 + * textAnalyser2 * * Input: * @newtext - new sentence @@ -57,7 +57,7 @@ function autocompleteCallback(request, response_callback) * marks). * */ -function TextAnalyser2(newtext, finalize) { +var textAnalyser2 = function (newtext, finalize) { var segment = [], subsegment = [], sentence = []; -- cgit v1.3.1