Files
icehrm/web/node_modules/rc-upload/lib/uid.js
2020-05-20 18:47:29 +02:00

13 lines
245 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = uid;
var now = +new Date();
var index = 0;
function uid() {
return "rc-upload-" + now + "-" + ++index;
}
module.exports = exports['default'];