git://git.onelab.eu
/
plstackapi.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
15cbbb98c1c3318134603ed112f90e01764e6df1
[plstackapi.git]
/
planetstack
/
core
/
xoslib
/
static
/
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
}