projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Added Entity and Entity Reference Revisions which got dropped somewhere along the...
[yaffs-website]
/
node_modules
/
video.js
/
es5
/
utils
/
guid.js
1
"use strict";
2
3
exports.__esModule = true;
4
exports.newGUID = newGUID;
5
/**
6
* @file guid.js
7
* @module guid
8
*/
9
10
/**
11
* Unique ID for an element or function
12
* @type {Number}
13
*/
14
var _guid = 1;
15
16
/**
17
* Get a unique auto-incrementing ID by number that has not been returned before.
18
*
19
* @return {number}
20
* A new unique ID.
21
*/
22
function newGUID() {
23
return _guid++;
24
}