Page MenuHomePhorge

AphlictIDGenerator.js
No OneTemporary

Size
292 B
Referenced Files
None
Subscribers
None

AphlictIDGenerator.js

var JX = require('javelin').JX;
JX.install('AphlictIDGenerator', {
members : {
_next : 0,
generateNext : function() {
this._next = ((this._next + 1) % 1000000000000);
return this._next;
},
getTotalCount : function() {
return this._next;
}
}
});

File Metadata

Mime Type
application/javascript
Expires
Wed, Jun 18, 10:03 AM (1 d, 17 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
232344
Default Alt Text
AphlictIDGenerator.js (292 B)

Event Timeline