forked from enviPath/enviPy
Current Dev State
This commit is contained in:
8
static/js/ketcher2/node_modules/es6-weak-map/valid-weak-map.js
generated
vendored
Normal file
8
static/js/ketcher2/node_modules/es6-weak-map/valid-weak-map.js
generated
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
'use strict';
|
||||
|
||||
var isWeakMap = require('./is-weak-map');
|
||||
|
||||
module.exports = function (x) {
|
||||
if (!isWeakMap(x)) throw new TypeError(x + " is not a WeakMap");
|
||||
return x;
|
||||
};
|
||||
Reference in New Issue
Block a user