Rename _ol_format_XLink_ to KXLink
This commit is contained in:
@@ -1,21 +1,21 @@
|
||||
/**
|
||||
* @module ol/format/XLink
|
||||
*/
|
||||
var _ol_format_XLink_ = {};
|
||||
var XLink = {};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {string}
|
||||
*/
|
||||
_ol_format_XLink_.NAMESPACE_URI = 'http://www.w3.org/1999/xlink';
|
||||
XLink.NAMESPACE_URI = 'http://www.w3.org/1999/xlink';
|
||||
|
||||
|
||||
/**
|
||||
* @param {Node} node Node.
|
||||
* @return {boolean|undefined} Boolean.
|
||||
*/
|
||||
_ol_format_XLink_.readHref = function(node) {
|
||||
return node.getAttributeNS(_ol_format_XLink_.NAMESPACE_URI, 'href');
|
||||
XLink.readHref = function(node) {
|
||||
return node.getAttributeNS(XLink.NAMESPACE_URI, 'href');
|
||||
};
|
||||
export default _ol_format_XLink_;
|
||||
export default XLink;
|
||||
|
||||
Reference in New Issue
Block a user