File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -1814,6 +1814,9 @@ const Buffer = Module("buffer", {
18141814} ) ;
18151815
18161816/* Expose Buffer constructor */
1817- Object . defineProperty ( this , "Buffer" , { value : Buffer } ) ;
1817+ Object . defineProperty ( modules , "Buffer" , {
1818+ value : Buffer ,
1819+ enumerable : true
1820+ } ) ;
18181821
18191822// vim: set fdm=marker sw=4 ts=4 et:
Original file line number Diff line number Diff line change @@ -1188,7 +1188,10 @@ const Commands = Module("commands", {
11881188
11891189( function ( ) {
11901190 /* Expose Command constructor for user-defined sub-commands. */
1191- Object . defineProperty ( this , "Command" , { value : Command } ) ;
1191+ Object . defineProperty ( modules , "Command" , {
1192+ value : Command ,
1193+ enumerable : true
1194+ } ) ;
11921195
11931196 Commands . quoteMap = {
11941197 "\n" : "n" ,
You can’t perform that action at this time.
0 commit comments