Sha256: 83f52f901a001ca77b15c4a802380f74495dd9e7aebbb6f92f21b15306e1bf88
Contents?: true
Size: 1.47 KB
Versions: 19
Compression:
Stored size: 1.47 KB
Contents
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory() : typeof define === 'function' && define.amd ? define('GOVUKFrontend', factory) : (factory()); }(this, (function () { 'use strict'; (function(undefined) { // Detection from https://github.com/Financial-Times/polyfill-service/blob/master/packages/polyfill-library/polyfills/Document/detect.js var detect = ("Document" in this); if (detect) return // Polyfill from https://cdn.polyfill.io/v2/polyfill.js?features=Document&flags=always if ((typeof WorkerGlobalScope === "undefined") && (typeof importScripts !== "function")) { if (this.HTMLDocument) { // IE8 // HTMLDocument is an extension of Document. If the browser has HTMLDocument but not Document, the former will suffice as an alias for the latter. this.Document = this.HTMLDocument; } else { // Create an empty function to act as the missing constructor for the document object, attach the document object as its prototype. The function needs to be anonymous else it is hoisted and causes the feature detect to prematurely pass, preventing the assignments below being made. this.Document = this.HTMLDocument = document.constructor = (new Function('return function Document() {}')()); this.Document.prototype = document; } } }) .call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {}); }))); //# sourceMappingURL=Document.js.map
Version data entries
19 entries across 19 versions & 1 rubygems