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", {
1814
1814
} ) ;
1815
1815
1816
1816
/* Expose Buffer constructor */
1817
- Object . defineProperty ( this , "Buffer" , { value : Buffer } ) ;
1817
+ Object . defineProperty ( modules , "Buffer" , {
1818
+ value : Buffer ,
1819
+ enumerable : true
1820
+ } ) ;
1818
1821
1819
1822
// 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", {
1188
1188
1189
1189
( function ( ) {
1190
1190
/* 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
+ } ) ;
1192
1195
1193
1196
Commands . quoteMap = {
1194
1197
"\n" : "n" ,
You can’t perform that action at this time.
0 commit comments