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 d686540 commit 6b4d430Copy full SHA for 6b4d430
lib/node_modules/@stdlib/plot/components/svg/clip-path/lib/main.js
@@ -131,10 +131,9 @@ function ClipPath( options ) {
131
var args;
132
var i;
133
debug( 'Received a render event. Re-emitting...' );
134
- args = new Array( arguments.length+1 );
135
- args[ 0 ] = 'render';
+ args = [ 'render' ];
136
for ( i = 0; i < arguments.length; i++ ) {
137
- args[ i+1 ] = arguments[ i ];
+ args.push( arguments[ i ] );
138
}
139
self.emit.apply( self, args );
140
0 commit comments