Sha256: 8f4d097821383f0ed781c80a935aaf87705ed38e8dae50d52ae0f823d6bfbd86

Contents?: true

Size: 742 Bytes

Versions: 68

Compression:

Stored size: 742 Bytes

Contents

(function(undefined) {

// Detection from https://github.com/Financial-Times/polyfill-service/blob/master/packages/polyfill-library/polyfills/Window/detect.js
var detect = ('Window' in this)

if (detect) return

// Polyfill from https://cdn.polyfill.io/v2/polyfill.js?features=Window&flags=always
if ((typeof WorkerGlobalScope === "undefined") && (typeof importScripts !== "function")) {
	(function (global) {
		if (global.constructor) {
			global.Window = global.constructor;
		} else {
			(global.Window = global.constructor = new Function('return function Window() {}')()).prototype = this;
		}
	}(this));
}

})
.call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {});

Version data entries

68 entries across 68 versions & 1 rubygems

Version Path
govuk_publishing_components-31.1.0 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Window.mjs
govuk_publishing_components-31.0.0 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Window.mjs
govuk_publishing_components-30.7.3 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Window.mjs
govuk_publishing_components-30.7.2 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Window.mjs
govuk_publishing_components-30.7.1 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Window.mjs
govuk_publishing_components-30.7.0 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Window.mjs
govuk_publishing_components-30.6.1 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Window.mjs
govuk_publishing_components-30.6.0 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Window.mjs
govuk_publishing_components-30.5.2 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Window.mjs
govuk_publishing_components-30.5.1 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Window.mjs
govuk_publishing_components-30.5.0 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Window.mjs
govuk_publishing_components-30.4.1 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Window.mjs
govuk_publishing_components-30.4.0 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Window.mjs
govuk_publishing_components-30.3.0 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Window.mjs
govuk_publishing_components-30.2.1 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Window.mjs
govuk_publishing_components-30.2.0 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Window.mjs
govuk_publishing_components-30.1.0 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Window.mjs
govuk_publishing_components-30.0.0 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Window.mjs
govuk_publishing_components-29.15.3 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Window.mjs
govuk_publishing_components-29.15.2 node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Window.mjs