Use let instead of var

This commit is contained in:
redhoodsu
2018-08-20 16:45:35 +08:00
parent 0ce56c849f
commit a89654c696
30 changed files with 90 additions and 94 deletions

View File

@@ -1,6 +1,5 @@
describe('resources', function() {
var tool = eruda.get('resources'),
$tool = $('.eruda-resources')
let $tool = $('.eruda-resources')
beforeEach(function() {
eruda.show('resources')