Gitiles
Code Review
Sign In
gerrit.opencord.org
/
xos
/
26564363b7b36fe560f8fe872192cdbfdfa5de4d
/
.
/
planetstack
/
core
/
xoslib
/
static
/
js
/
xsh
/
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
;
}