- Updated all component headers and documentation
- Changed navbar and footer branding
- Updated homepage hero badge
- Modified page title in index.html
- Simplified footer text to 'Built with ❤️'
- Consistent V2 capitalization across all references
14 lines
300 B
JavaScript
14 lines
300 B
JavaScript
var currentNonce;
|
|
export var setNonce = function (nonce) {
|
|
currentNonce = nonce;
|
|
};
|
|
export var getNonce = function () {
|
|
if (currentNonce) {
|
|
return currentNonce;
|
|
}
|
|
if (typeof __webpack_nonce__ !== 'undefined') {
|
|
return __webpack_nonce__;
|
|
}
|
|
return undefined;
|
|
};
|