Skip to content

Commit

Permalink
Add 'ENV' to the list of runtime elements that may be exported. (#6855)
Browse files Browse the repository at this point in the history
Adding environment variables is inconvenient for MODULARIZE=1 builds without exporting the ENV object.
  • Loading branch information
ianh authored and kripken committed Jul 16, 2018
1 parent 676a351 commit addf0ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -351,3 +351,4 @@ a license to everyone to use it as detailed in LICENSE.)
* Alexander Bich <[email protected]>
* Ashleigh Thomas <[email protected]>
* Veniamin Petrenko <[email protected]>
* Ian Henderson <[email protected]>
1 change: 1 addition & 0 deletions src/modules.js
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,7 @@ function exportRuntime() {
'writeAsciiToMemory',
'addRunDependency',
'removeRunDependency',
'ENV',
'FS',
'FS_createFolder',
'FS_createPath',
Expand Down

0 comments on commit addf0ae

Please sign in to comment.