Gitiles
Code Review
Sign In
gerrit.opencord.org
/
xos
/
59b3741d7ce2b9f762b8cf17b26db29ba54af442
/
.
/
planetstack
/
core
/
static
/
shell
/
object_id.js
blob: 15cbbb98c1c3318134603ed112f90e01764e6df1 [
file
] [
log
] [
blame
]
var
ObjectIdCounter
=
0
;
var
ObjectId
=
function
()
{
this
.
counter
=
(
ObjectIdCounter
+=
1
);
this
.
str
=
this
.
counter
;
this
.
initialize
();
return
this
.
counter
;
};
ObjectId
.
prototype
.
initialize
=
function
()
{
return
this
.
counter
;
}