Sha256: 66e4cb388e10a2e875757ddabfc2a9e679cfad6ca9a0d85ed85c30f666251563

Contents?: true

Size: 888 Bytes

Versions: 19

Compression:

Stored size: 888 Bytes

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-library/blob/v3.111.0/polyfills/Date/now/detect.js
        var detect = ('Date' in self && 'now' in self.Date && 'getTime' in self.Date.prototype);

        if (detect) return

        // Polyfill from https://polyfill.io/v3/polyfill.js?version=3.111.0&features=Date.now&flags=always
        Date.now = function () {
            return new Date().getTime();
        };

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

})));
//# sourceMappingURL=now.js.map

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
govuk_publishing_components-35.3.3 node_modules/govuk-frontend/govuk/vendor/polyfills/Date/now.js
govuk_publishing_components-35.3.2 node_modules/govuk-frontend/govuk/vendor/polyfills/Date/now.js
govuk_publishing_components-35.3.1 node_modules/govuk-frontend/govuk/vendor/polyfills/Date/now.js
govuk_publishing_components-35.3.0 node_modules/govuk-frontend/govuk/vendor/polyfills/Date/now.js
govuk_publishing_components-35.2.0 node_modules/govuk-frontend/govuk/vendor/polyfills/Date/now.js
govuk_publishing_components-35.1.1 node_modules/govuk-frontend/govuk/vendor/polyfills/Date/now.js
govuk_publishing_components-35.1.0 node_modules/govuk-frontend/govuk/vendor/polyfills/Date/now.js
govuk_publishing_components-35.0.0 node_modules/govuk-frontend/govuk/vendor/polyfills/Date/now.js
govuk_publishing_components-34.14.0 node_modules/govuk-frontend/govuk/vendor/polyfills/Date/now.js
govuk_publishing_components-34.13.0 node_modules/govuk-frontend/govuk/vendor/polyfills/Date/now.js
govuk_publishing_components-34.12.0 node_modules/govuk-frontend/govuk/vendor/polyfills/Date/now.js
govuk_publishing_components-34.11.0 node_modules/govuk-frontend/govuk/vendor/polyfills/Date/now.js
govuk_publishing_components-34.10.1 node_modules/govuk-frontend/govuk/vendor/polyfills/Date/now.js
govuk_publishing_components-34.10.0 node_modules/govuk-frontend/govuk/vendor/polyfills/Date/now.js
govuk_publishing_components-34.9.1 node_modules/govuk-frontend/govuk/vendor/polyfills/Date/now.js
govuk_publishing_components-34.9.0 node_modules/govuk-frontend/govuk/vendor/polyfills/Date/now.js
govuk_publishing_components-34.8.1 node_modules/govuk-frontend/govuk/vendor/polyfills/Date/now.js
govuk_publishing_components-34.8.0 node_modules/govuk-frontend/govuk/vendor/polyfills/Date/now.js
govuk_publishing_components-34.7.1 node_modules/govuk-frontend/govuk/vendor/polyfills/Date/now.js