MCPcopy Create free account
hub / github.com/compat-table/compat-table / platformOf

Function platformOf

master.js:256–258  ·  view source on GitHub ↗
(elem)

Source from the content-addressed store, hash-verified

254
255 // Function to retrieve the platform name of a given <td> cell
256 function platformOf(elem) {
257 return elem.getAttribute('data-browser') || '';
258 }
259
260 // Since you can't add a :hover effect for columns,
261 // these handlers must suffice.

Callers 2

addRemoveHoverFunction · 0.85
comparatorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected