mirror of https://github.com/jkjoy/sunpeiwen.git
6 lines
159 B
JavaScript
6 lines
159 B
JavaScript
|
var shared = require('./_shared')('keys');
|
||
|
var uid = require('./_uid');
|
||
|
module.exports = function (key) {
|
||
|
return shared[key] || (shared[key] = uid(key));
|
||
|
};
|