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:
@@ -7,7 +7,7 @@
|
||||
* mapping.
|
||||
* @constructor
|
||||
*/
|
||||
var _ol_pointer_EventSource_ = function(dispatcher, mapping) {
|
||||
const _ol_pointer_EventSource_ = function(dispatcher, mapping) {
|
||||
/**
|
||||
* @type {ol.pointer.PointerEventHandler}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user