Skip to content

Commit 8c83e84

Browse files
committed
Fixes requirejs#1588, setTimeout not available in all environments
1 parent 861f5e4 commit 8c83e84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

require.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2139,4 +2139,4 @@ var requirejs, require, define;
21392139

21402140
//Set up with config info.
21412141
req(cfg);
2142-
}(this, setTimeout));
2142+
}(this, (typeof setTimeout === 'undefined' ? undefined : setTimeout)));

0 commit comments

Comments
 (0)