Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: clean up
  • Loading branch information
obecny committed Oct 28, 2019
commit b2b79b8202e8f46c0a93e5588d998bb2a696a72c
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ export class ZoneScopeManager implements ScopeManager {
*/
private _zoneCounter = 0;

constructor() {}

/**
* Returns the active scope from certain zone name
* @param activeZoneName
Expand Down Expand Up @@ -176,8 +174,7 @@ export class ZoneScopeManager implements ScopeManager {
private _createZoneName() {
this._zoneCounter++;
const random = Math.random();
const zoneName = `${this._zoneCounter}-${random}`;
return zoneName;
return `${this._zoneCounter}-${random}`;
}

/**
Expand Down