Sha256: d2e628b3c281c2d3c0b2149d67240d354e4a59169bca4e7b25c90271125890b9

Contents?: true

Size: 304 Bytes

Versions: 53

Compression:

Stored size: 304 Bytes

Contents

'use strict';

var global   = require('es5-ext/global')
  , polyfill = require('../polyfill');

module.exports = function (t, a) {
	var cache;
	a(typeof t(), 'boolean');
	cache = global.Set;
	global.Set = polyfill;
	a(t(), true);
	if (cache === undefined) delete global.Set;
	else global.Set = cache;
};

Version data entries

53 entries across 53 versions & 7 rubygems

Version Path
govuk_publishing_components-18.0.0 node_modules/es6-set/test/is-implemented.js
govuk_publishing_components-17.21.0 node_modules/es6-set/test/is-implemented.js
govuk_publishing_components-17.20.0 node_modules/es6-set/test/is-implemented.js
govuk_publishing_components-17.19.1 node_modules/es6-set/test/is-implemented.js
govuk_publishing_components-17.19.0 node_modules/es6-set/test/is-implemented.js
govuk_publishing_components-17.18.0 node_modules/es6-set/test/is-implemented.js
govuk_publishing_components-17.17.0 node_modules/es6-set/test/is-implemented.js
govuk_publishing_components-17.16.0 node_modules/es6-set/test/is-implemented.js
govuk_publishing_components-17.15.0 node_modules/es6-set/test/is-implemented.js
govuk_publishing_components-17.14.0 node_modules/es6-set/test/is-implemented.js
govuk_publishing_components-17.13.0 node_modules/es6-set/test/is-implemented.js
govuk_publishing_components-17.12.2 node_modules/es6-set/test/is-implemented.js
govuk_publishing_components-17.12.1 node_modules/es6-set/test/is-implemented.js
govuk_publishing_components-17.12.0 node_modules/es6-set/test/is-implemented.js
govuk_publishing_components-17.11.0 node_modules/es6-set/test/is-implemented.js
govuk_publishing_components-17.10.0 node_modules/es6-set/test/is-implemented.js
govuk_publishing_components-17.9.0 node_modules/es6-set/test/is-implemented.js
govuk_publishing_components-17.8.0 node_modules/es6-set/test/is-implemented.js
govuk_publishing_components-17.7.0 node_modules/es6-set/test/is-implemented.js
govuk_publishing_components-17.6.1 node_modules/es6-set/test/is-implemented.js