git://git.onelab.eu
/
plstackapi.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
sliver.deploymentNetwork -> deployment network
[plstackapi.git]
/
planetstack
/
core
/
xoslib
/
static
/
js
/
xsh
/
object_id.js
1
var ObjectIdCounter = 0;
2
3
var ObjectId = function() {
4
this.counter = (ObjectIdCounter += 1);
5
this.str = this.counter;
6
this.initialize();
7
return this.counter;
8
};
9
10
ObjectId.prototype.initialize = function() {
11
return this.counter;
12
}