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:
11
node_modules/es5-ext/string/random-uniq.js
generated
vendored
Normal file
11
node_modules/es5-ext/string/random-uniq.js
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
'use strict';
|
||||
|
||||
var generated = Object.create(null)
|
||||
|
||||
, random = Math.random;
|
||||
|
||||
module.exports = function () {
|
||||
var str;
|
||||
do { str = random().toString(36).slice(2); } while (generated[str]);
|
||||
return str;
|
||||
};
|
||||
Reference in New Issue
Block a user