mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
set Rhino shell's JS version to 180 (#477)
fixes a crash with JS 1.8 keywords (such as `let`)
This commit is contained in:
parent
7459bbbd52
commit
c8167b8d76
@ -4,6 +4,9 @@
|
||||
* to get JSDoc to run.
|
||||
*/
|
||||
|
||||
// Set the JS version that the Rhino interpreter will use.
|
||||
version(180);
|
||||
|
||||
/**
|
||||
* Emulate DOM timeout/interval functions.
|
||||
* @see https://developer.mozilla.org/en-US/docs/DOM/window#Methods
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user