mirror of
https://github.com/liriliri/eruda.git
synced 2026-04-05 10:28:34 +08:00
Add: Resource timing
This commit is contained in:
@@ -79,8 +79,13 @@ export default class Sources extends Tool
|
||||
|
||||
return this._render();
|
||||
}
|
||||
|
||||
if (this._isGettingHtml) return;
|
||||
this._isGettingHtml = true;
|
||||
|
||||
util.get(location.href, (err, data) =>
|
||||
{
|
||||
this._isGettingHtml = false;
|
||||
if (err) return;
|
||||
|
||||
this._html = data;
|
||||
|
||||
Reference in New Issue
Block a user