增加晶全app静态页面
This commit is contained in:
14
node_modules/es6-map/test/is-implemented.js
generated
vendored
Normal file
14
node_modules/es6-map/test/is-implemented.js
generated
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
'use strict';
|
||||
|
||||
var global = require('es5-ext/global')
|
||||
, polyfill = require('../polyfill');
|
||||
|
||||
module.exports = function (t, a) {
|
||||
var cache;
|
||||
a(typeof t(), 'boolean');
|
||||
cache = global.Map;
|
||||
global.Map = polyfill;
|
||||
a(t(), true);
|
||||
if (cache === undefined) delete global.Map;
|
||||
else global.Map = cache;
|
||||
};
|
Reference in New Issue
Block a user