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 @@ import {nullFunction} from './index.js';
|
||||
* Objects that need to clean up after themselves.
|
||||
* @constructor
|
||||
*/
|
||||
var Disposable = function() {};
|
||||
const Disposable = function() {};
|
||||
|
||||
/**
|
||||
* The object has already been disposed.
|
||||
|
||||
Reference in New Issue
Block a user