MCPcopy Create free account
hub / github.com/Maps4HTML/MapML.js / supports

Method supports

src/mapml/utils/DOMTokenList.js:74–82  ·  view source on GitHub ↗
(token)

Source from the content-addressed store, hash-verified

72
73 // Modified default behavior
74 supports(token) {
75 /* jshint ignore:start */
76 if (this.#domain.includes(token)) {
77 return true;
78 } else {
79 return false;
80 }
81 /* jshint ignore:end */
82 }
83
84 // Modified default behavior
85 //https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/toggle

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected