mirror of
https://github.com/mgerb/mywebsite
synced 2026-01-12 02:42:48 +00:00
updated bunch of file paths and changed the way posts are loaded
This commit is contained in:
14
node_modules/es6-weak-map/is-implemented.js
generated
vendored
Normal file
14
node_modules/es6-weak-map/is-implemented.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = function () {
|
||||
var map;
|
||||
if (typeof WeakMap !== 'function') return false;
|
||||
map = new WeakMap();
|
||||
if (typeof map.set !== 'function') return false;
|
||||
if (map.set({}, 1) !== map) return false;
|
||||
if (typeof map.clear !== 'function') return false;
|
||||
if (typeof map.delete !== 'function') return false;
|
||||
if (typeof map.has !== 'function') return false;
|
||||
|
||||
return true;
|
||||
};
|
||||
Reference in New Issue
Block a user