File tree Expand file tree Collapse file tree 1 file changed +1
-25
lines changed Expand file tree Collapse file tree 1 file changed +1
-25
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ function Runner(suite, delay) {
141141 } ) ;
142142 this . _defaultGrep = / .* / ;
143143 this . grep ( this . _defaultGrep ) ;
144- this . globals ( this . globalProps ( ) . concat ( extraGlobals ( ) ) ) ;
144+ this . globals ( this . globalProps ( ) ) ;
145145}
146146
147147/**
@@ -1016,30 +1016,6 @@ function thrown2Error(err) {
10161016 ) ;
10171017}
10181018
1019- /**
1020- * Array of globals dependent on the environment.
1021- *
1022- * @return {Array }
1023- * @deprecated
1024- * @todo remove; long since unsupported
1025- * @private
1026- */
1027- function extraGlobals ( ) {
1028- if ( typeof process === 'object' && typeof process . version === 'string' ) {
1029- var parts = process . version . split ( '.' ) ;
1030- var nodeVersion = parts . reduce ( function ( a , v ) {
1031- return ( a << 8 ) | v ;
1032- } ) ;
1033-
1034- // 'errno' was renamed to process._errno in v0.9.11.
1035- if ( nodeVersion < 0x00090b ) {
1036- return [ 'errno' ] ;
1037- }
1038- }
1039-
1040- return [ ] ;
1041- }
1042-
10431019Runner . constants = constants ;
10441020
10451021/**
You can’t perform that action at this time.
0 commit comments