diff --git a/annogen.py b/annogen.py index c70364a8262dd6c39c40529fa6605ecba2af2c68..45be212352d50111d84b977eb6e3ee8894ec4f3d 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: