Named exports from ol/format/XLink
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
/**
|
||||
* @module ol/format/XLink
|
||||
*/
|
||||
const XLink = {};
|
||||
|
||||
|
||||
/**
|
||||
@@ -15,7 +14,6 @@ const NAMESPACE_URI = 'http://www.w3.org/1999/xlink';
|
||||
* @param {Node} node Node.
|
||||
* @return {boolean|undefined} Boolean.
|
||||
*/
|
||||
XLink.readHref = function(node) {
|
||||
export function readHref(node) {
|
||||
return node.getAttributeNS(NAMESPACE_URI, 'href');
|
||||
};
|
||||
export default XLink;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user