-
Notifications
You must be signed in to change notification settings - Fork 195
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable amd when importing external sources so they populate the namespace as expected. Otherwise we lose access to them in request based projects (like jupyter). I'm pulling in UPNG now to support creation of animated pngs in py3Dmol.
- Loading branch information
Showing
9 changed files
with
5,831 additions
and
437 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
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
if(typeof define !== 'undefined') { | ||
// UPNG checks the existence of require, not define, so need to do both | ||
var _3dmol_saved_define = define; | ||
var _3dmol_saved_require = require; | ||
define = null; | ||
require = null; | ||
} |
Oops, something went wrong.