OpenTV Player Web HTML5

Module: guid

guid

guid.js

Members

inner _guidNumber

Unique ID for an element or function

Methods

staticmodule:guid.newGUID(){number}

Get a unique auto-incrementing ID by number that has not been returned before.

Returns:
Type Description
number A new unique ID.

staticmodule:guid.resetGuidInTestsOnly()

Reset the unique auto-incrementing ID for testing only.