Loading client-app/src/component/layout/SupersetDisplayer.js +3 −4 Original line number Diff line number Diff line Loading @@ -70,7 +70,7 @@ define([ this._prepareDashboardConfig(); var tokenDfd = this._getGuestToken(); let tokenDfd = this._getGuestToken(); tokenDfd.then(lang.hitch(this, this._prepareDashboardInstance)); }, Loading Loading @@ -146,15 +146,14 @@ define([ this._prepareDashboard(); }, _subClear: function(req) { _subClear: function(_req) { this._clearDashboard(); }, _itemAvailable: function(res) { var data = res && res.data || {}, token = data.token; let token = res?.data?.token; if (token) { this._guestToken.resolve(token); Loading grunt/config/jshint.js +1 −3 Original line number Diff line number Diff line Loading @@ -6,7 +6,6 @@ module.exports = function(grunt) { grunt.config('jshint', { src: { options: { esversion: 6 }, files: { src: [ Loading @@ -19,7 +18,6 @@ module.exports = function(grunt) { }, test: { options: { esversion: 6, ignores: [testPath + '/sockTest/*.js'] }, files: { Loading @@ -29,7 +27,7 @@ module.exports = function(grunt) { options: { laxcomma: true, expr: true, esversion: 3 esversion: 11 } }); }; Loading
client-app/src/component/layout/SupersetDisplayer.js +3 −4 Original line number Diff line number Diff line Loading @@ -70,7 +70,7 @@ define([ this._prepareDashboardConfig(); var tokenDfd = this._getGuestToken(); let tokenDfd = this._getGuestToken(); tokenDfd.then(lang.hitch(this, this._prepareDashboardInstance)); }, Loading Loading @@ -146,15 +146,14 @@ define([ this._prepareDashboard(); }, _subClear: function(req) { _subClear: function(_req) { this._clearDashboard(); }, _itemAvailable: function(res) { var data = res && res.data || {}, token = data.token; let token = res?.data?.token; if (token) { this._guestToken.resolve(token); Loading
grunt/config/jshint.js +1 −3 Original line number Diff line number Diff line Loading @@ -6,7 +6,6 @@ module.exports = function(grunt) { grunt.config('jshint', { src: { options: { esversion: 6 }, files: { src: [ Loading @@ -19,7 +18,6 @@ module.exports = function(grunt) { }, test: { options: { esversion: 6, ignores: [testPath + '/sockTest/*.js'] }, files: { Loading @@ -29,7 +27,7 @@ module.exports = function(grunt) { options: { laxcomma: true, expr: true, esversion: 3 esversion: 11 } }); };