Rename _ol_format_XLink_ to KXLink

This commit is contained in:
Tim Schaub
2017-12-17 02:22:12 -07:00
parent 53cc0ad3ff
commit 2aeef0b120
4 changed files with 14 additions and 14 deletions

View File

@@ -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;