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:
@@ -15,7 +15,7 @@
|
||||
* @implements {oli.events.Event}
|
||||
* @param {string} type Type.
|
||||
*/
|
||||
var Event = function(type) {
|
||||
const Event = function(type) {
|
||||
|
||||
/**
|
||||
* @type {boolean}
|
||||
|
||||
Reference in New Issue
Block a user