summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2014-10-21 10:55:01 +0300
committerAlon Levy <alon@pobox.com>2014-10-21 11:00:22 +0300
commitb8119bfb95550fdb9014df3a80791024a9923867 (patch)
treea3f40e05216e14af0f61f4d67d7f62828eb133d3 /scripts
parente91affbe18d1ac5cdbe202cc195b193505313338 (diff)
fix test_analyzer after require.js
Diffstat (limited to 'scripts')
-rw-r--r--scripts/rhizicore.js1
-rw-r--r--scripts/textanalysis.ui.js2
2 files changed, 2 insertions, 1 deletions
diff --git a/scripts/rhizicore.js b/scripts/rhizicore.js
index c480e676..9c2d299f 100644
--- a/scripts/rhizicore.js
+++ b/scripts/rhizicore.js
@@ -1159,5 +1159,6 @@ function expand(obj){
return {
expand: expand,
graph: graph,
+ force: force,
}
}); /* close define call */
diff --git a/scripts/textanalysis.ui.js b/scripts/textanalysis.ui.js
index 98d0fe83..0a1e3ece 100644
--- a/scripts/textanalysis.ui.js
+++ b/scripts/textanalysis.ui.js
@@ -3,7 +3,6 @@ var text = ""; // Last text of sentence
var element_name = '#textanalyser';
var element = $(element_name);
-// TODO - hide this in a scope
function analyzeSentence(sentence, finalize)
{
var ret = textanalysis.textAnalyser2(sentence, finalize);
@@ -60,6 +59,7 @@ function changeType(arg, id) {
}
return {
+ analyzeSentence: analyzeSentence,
main:function () {
if (element.length != 1) {
return;