| Index: jshydra.js |
| =================================================================== |
| --- a/jshydra.js |
| +++ b/jshydra.js |
| @@ -35,9 +35,12 @@ var _print = print; |
| } |
| if (!scriptArgs.length) |
| throw Error("No script to execute"); |
| include(scriptArgs[0]); |
| for (var i = 1; i < scriptArgs.length; i++) |
| process_js(Reflect.parse(read(scriptArgs[i])), scriptArgs[i], scriptArg); |
| + |
| + if (typeof done_processing == "function") |
|
kzar
2016/05/31 14:43:15
Nit: Won't this function always exist? Also how ab
Wladimir Palant
2016/05/31 14:54:02
As is, JSHydra is a general-purpose tool - it can
kzar
2016/05/31 14:56:28
Fair enough.
|
| + done_processing(); |
| })(this.arguments || this.scriptArgs); |