Download static/j2s/JS/ScriptInterruption.js from patonlab/cascade: direct link, hf CLI and curl.
- Browser
- Download file 449 Bytes
-
https://huggingface.co/spaces/patonlab/cascade/resolve/main/static/j2s/JS/ScriptInterruption.js
- Command line
-
hf download hf://spaces/patonlab/cascade/static/j2s/JS/ScriptInterruption.js
-
curl -L -o ScriptInterruption.js https://huggingface.co/spaces/patonlab/cascade/resolve/main/static/j2s/JS/ScriptInterruption.js
449 Bytes
| Clazz.declarePackage ("JS"); | |
| Clazz.load (["JS.ScriptException"], "JS.ScriptInterruption", null, function () { | |
| c$ = Clazz.declareType (JS, "ScriptInterruption", JS.ScriptException); | |
| Clazz.makeConstructor (c$, | |
| function (eval, why, millis) { | |
| Clazz.superConstructor (this, JS.ScriptInterruption, [eval, why, "!", millis == -2147483648 || eval.vwr.autoExit]); | |
| if (why.equals ("delay")) eval.delayScript (millis); | |
| }, "JS.ScriptEval,~S,~N"); | |
| }); | |