Required code for web pack to work in a project
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
/*************************************************/ | |
/* REQUIRED BY WEB PACK - DO NOT DELETE */ | |
/*************************************************/ | |
function getGlobal() { | |
return typeof self !== "undefined" | |
? self | |
: typeof window !== "undefined" | |
? window | |
: typeof global !== "undefined" | |
? global | |
: undefined; | |
} | |
const g = getGlobal(); | |
g.onSendEvent = onSendEvent; | |
g.onRibbonButtonClick = onRibbonButtonClick | |
/*************************************************/ | |
/* REQUIRED BY WEB PACK - DO NOT DELETE */ | |
/*************************************************/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment