Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pad.html: fix regression introduced with 5879037.
Revision 5879037 fixed a security bug, but introduced a regression, where on page load the js console showed: ReferenceError: require is not defined The reason was that the fix called require('../static/js/pad_utils') to load a module at a time when require() was still not defined. This change anticipates the loading of require-kernel, and manually loads pad_utils. The fix proposed in #3670 by aaron-costello, which seemed to do the right thing, anticipating the configuration phase of require-kernel, did not work. It had to be declined and replaced by this (less elegant) change.
- Loading branch information
695c2d2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me :)