From fe472764f611e389bb3a259f18ad19503b3487fa Mon Sep 17 00:00:00 2001 From: "Silas S. Brown" <ssb22@cam.ac.uk> Date: Sun, 17 Jan 2016 08:12:26 +0000 Subject: [PATCH] Update Annotator Generator git-svn-id: http://svn.code.sf.net/p/e-guidedog/code/ssb22/adjuster@2410 29193198-4895-4776-b068-10539e920549 --- annogen.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/annogen.py b/annogen.py index c70364a..45be212 100755 --- a/annogen.py +++ b/annogen.py @@ -540,9 +540,10 @@ additional_js_instructions = r""" If you need to inject additional Javascript into sites to fix things, set the ANNOGEN_EXTRA_JS environment variable before running Annotator Generator to (re)generate this -file. Make sure it ends with a semicolon (or the close -brace at the end of an 'if', 'for' or 'while' block). It -will be run before each scan for new text to annotate. +file. Make sure it ends with a semicolon, or the closing +brace of an 'if', 'for', 'while' or 'try..catch' (the +latter is probably a good idea). The snippet will be run +before each scan for new text to annotate. """ if ios: -- GitLab