File: unix.js

package info (click to toggle)
js-of-ocaml 2.2-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 7,612 kB
  • ctags: 10,589
  • sloc: ml: 36,459; makefile: 665; lisp: 41; sh: 14; ruby: 4; perl: 4
file content (6 lines) | stat: -rw-r--r-- 226 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
//Phantom
if(joo_global_object.phantom && joo_global_object.phantom.exit)
  joo_global_object.quit = joo_global_object.phantom.exit;

if(joo_global_object.onerror)
  joo_global_object.onerror = function() { caml_sys_exit(1);}