Skip to content
This repository has been archived by the owner on Jan 4, 2023. It is now read-only.

Commit

Permalink
Javascript 2021 - Web component metric fix (#231)
Browse files Browse the repository at this point in the history
* capture number ajax requests

* add custom metrics to Javascript topic

* update metrics for webcomponents, shadow DOM, request protocols

* addadd memory, content type metric

* script tag properties

* noscript tags

* refactor

* wcustom_element metric exits in has_shadow_root

* add webcomponent_spec metric

add charset,language

Co-authored-by: Pankaj Parkar <[email protected]>

* add async_and_defer, defer_without_src

* add inline script metric

* change attributes to hasAttribute

* fix web_component metric

Co-authored-by: Max Ostapenko <[email protected]>
Co-authored-by: Pankaj Parkar <[email protected]>
  • Loading branch information
3 people authored Aug 30, 2021
1 parent 1a7ce57 commit 7be62fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_metrics/javascript.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ return JSON.stringify({
'template': template.map(getNodeName)
}
return web_component_specs
}),
})(),

script_tags: (() => {
let script_tags = Array.from(document.querySelectorAll('script'));
Expand Down

0 comments on commit 7be62fe

Please sign in to comment.