projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
06df91cc529c020470e90657d0b2238167f3c6cc
[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.Map;
10
global.Map = polyfill;
11
a(t(), true);
12
if (cache === undefined) delete global.Map;
13
else global.Map = cache;
14
};