More Node-related module tidying (but still doesn't solve ES6 browser issues with uncompiled code)
This commit is contained in:
parent
b5d6afd210
commit
67e1e66cb1
16 changed files with 1049 additions and 1050 deletions
|
|
@ -93,16 +93,6 @@ class Usr {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* getTime()
|
||||
*
|
||||
* @return {number} the current time, in milliseconds
|
||||
*/
|
||||
static getTime()
|
||||
{
|
||||
return Date.now() || +new Date();
|
||||
}
|
||||
|
||||
/**
|
||||
* getTimestamp()
|
||||
*
|
||||
|
|
@ -245,7 +235,6 @@ class Usr {
|
|||
bfs[f] = {mask: mask, shift: bit};
|
||||
bit += width;
|
||||
}
|
||||
// Component.assert(bit <= 32);
|
||||
return bfs;
|
||||
}
|
||||
|
||||
|
|
@ -288,7 +277,6 @@ class Usr {
|
|||
*/
|
||||
static setBitField(bf, v, n)
|
||||
{
|
||||
// Component.assert(!(n & ~(bf.mask >>> bf.shift)));
|
||||
return (v & ~bf.mask) | ((n << bf.shift) & bf.mask);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue