Lowercase module names for modules without a default export

This commit is contained in:
Tim Schaub
2021-05-03 07:32:12 -06:00
parent 72ea4e7599
commit f08f31101c
7 changed files with 9 additions and 9 deletions
+17
View File
@@ -0,0 +1,17 @@
/**
* @module ol/format/xlink
*/
/**
* @const
* @type {string}
*/
const NAMESPACE_URI = 'http://www.w3.org/1999/xlink';
/**
* @param {Element} node Node.
* @return {string|undefined} href.
*/
export function readHref(node) {
return node.getAttributeNS(NAMESPACE_URI, 'href');
}