fred-wang / TeXZilla

LALR Javascript LaTeX-to-MathML converter compatible with Unicode
http://fred-wang.github.io/TeXZilla/
130 stars 21 forks source link

Use a standard commonJS syntax for exit #6

Open fred-wang opened 10 years ago

fred-wang commented 10 years ago

Currently, we use three versions of "exit" for phantomjs, slimerjs and nodejs. They are used in unit-tests.js and commonJS.js

Ideally, the exit call should work with any CommonJS program. http://wiki.commonjs.org/wiki/CommonJS

fred-wang commented 10 years ago

https://github.com/laurentj/slimerjs/issues/50