Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduced in 5c75aa8 it might happen, that there is no `define` or `require` defined. handle this gracefully.
- Loading branch information
Showing
3 changed files
with
7 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
var define = _old_define; | ||
var require = _old_require; | ||
if(typeof _old_define !== 'undefined') { var define = _old_define; } | ||
if(typeof _old_require !== 'undefined') { var require = _old_require; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
var _old_define = define; | ||
var _old_require = require; | ||
if(typeof define !== 'undefined') { var _old_define = define; } | ||
if(typeof require !== 'undefined') { var _old_require = require; } | ||
define = undefined; | ||
require = undefined; |