We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 795c104 commit 99db983Copy full SHA for 99db983
lib/node_modules/@stdlib/plot/components/svg/marks/lib/main.js
@@ -112,10 +112,9 @@ function Marks( options ) {
112
var i;
113
debug( 'Received a render event. Re-emitting...' );
114
args = [];
115
- args.length = arguments.length + 1;
116
- args[ 0 ] = 'render';
+ args.push( 'render' );
117
for ( i = 0; i < arguments.length; i++ ) {
118
- args[ i+1 ] = arguments[ i ];
+ args.push( arguments[ i ] );
119
}
120
self.emit.apply( self, args );
121
0 commit comments