Skip to content

Commit

Permalink
set Rhino shell's JS version to 180 (jsdoc#477)
Browse files Browse the repository at this point in the history
fixes a crash with JS 1.8 keywords (such as `let`)
  • Loading branch information
hegemonic committed Aug 15, 2013
1 parent 7459bbb commit c8167b8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rhino/rhino-shim.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c8167b8

Please sign in to comment.