diff options
Diffstat (limited to 'Master/texmf/asymptote/reload.js')
-rw-r--r-- | Master/texmf/asymptote/reload.js | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/Master/texmf/asymptote/reload.js b/Master/texmf/asymptote/reload.js deleted file mode 100644 index a6526803056..00000000000 --- a/Master/texmf/asymptote/reload.js +++ /dev/null @@ -1,23 +0,0 @@ -// Load/reload the document associated with a given path. - -// UNIX: Copy to ~/.adobe/Acrobat/x.x/JavaScripts/ -// To avoid random window placement we recommend specifying an acroread -// geometry option, for example: -geometry +0+0 - -// MSWindows: Copy to %APPDATA%/Adobe/Acrobat/x.x/JavaScripts/ - -// Note: x.x represents the appropriate Acrobat Reader version number. - -reload = app.trustedFunction(function(path) { - app.beginPriv(); - n=app.activeDocs.length; - for(i=app.activeDocs.length-1; i >= 0; --i) { - Doc=app.activeDocs[i]; - if(Doc.path == path && Doc != this) { - Doc.closeDoc(); - break; - } - } - app.openDoc(path); - app.endPriv(); - }); |