git://git.onelab.eu
/
plstackapi.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
moving the shell files out to where they belong
[plstackapi.git]
/
planetstack
/
core
/
static
/
shell
/
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
}