File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 88 */
99
1010( function ( ) {
11- var global = global || this || window || Function ( 'return this' ) ( ) ;
11+ var global = typeof window !== 'undefined' ? window : this || Function ( 'return this' ) ( ) ;
1212 var nx = global . nx || require ( '@jswork/next' ) ;
1313 // https://stackoverflow.com/questions/273789/is-there-a-version-of-javascripts-string-indexof-that-allows-for-regular-expr
1414
Original file line number Diff line number Diff line change 11( function ( ) {
2- var global = global || this || window || Function ( 'return this' ) ( ) ;
2+ var global = typeof window !== 'undefined' ? window : this || Function ( 'return this' ) ( ) ;
33 var nx = global . nx || require ( '@jswork/next' ) ;
44 // https://stackoverflow.com/questions/273789/is-there-a-version-of-javascripts-string-indexof-that-allows-for-regular-expr
55
You can’t perform that action at this time.
0 commit comments