Lowercase module names for modules without a default export
This commit is contained in:
@@ -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');
|
||||
}
|
||||
Reference in New Issue
Block a user