Use blocked scoped variables
In addition to using const and let, this also upgrades our linter config and removes lint (mostly whitespace).
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
/**
|
||||
* @module ol/format/XLink
|
||||
*/
|
||||
var XLink = {};
|
||||
const XLink = {};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {string}
|
||||
*/
|
||||
var NAMESPACE_URI = 'http://www.w3.org/1999/xlink';
|
||||
const NAMESPACE_URI = 'http://www.w3.org/1999/xlink';
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user