Gitiles
Code Review
Sign In
gerrit.opencord.org
/
xos
/
2190934fef02255db55542e51aaf76846a2ff7dc
/
.
/
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
;
}