Description #

Return array of values that would be valid as an HTML script element.

Array keys are AMP element names and array values are their respective Javascript URLs from

Return #

(string[]) Returns component name as array key and JavaScript URL as array value, respectively. Will return an empty array if sanitization has yet to be run or if it did not find any HTML elements to convert to AMP equivalents.

Changelog #

Version Description
0.2 Introduced.