124793e7373f1ce10adf6b1b01534122c5f987dc
[platform/framework/web/crosswalk-tizen.git] /
1 'use strict';
2
3 var global   = require('es5-ext/global')
4   , polyfill = require('../polyfill');
5
6 module.exports = function (t, a) {
7         var cache;
8         a(typeof t(), 'boolean');
9         cache = global.Set;
10         global.Set = polyfill;
11         a(t(), true);
12         if (cache === undefined) delete global.Set;
13         else global.Set = cache;
14 };