Revert "fix: all auto fixable eslint issues (#31900)" (#32203)

This reverts commit 228180b1ef.
This commit is contained in:
Syed Ali Abbas Zaidi
2023-05-09 13:53:54 +05:00
committed by GitHub
parent 228180b1ef
commit adf879e8b2
354 changed files with 1489 additions and 1498 deletions

View File

@@ -176,7 +176,7 @@ define(
*
*/
xhrProgressHandler: function(event, position, total, percentComplete) {
var percentVal = `${percentComplete}%`;
var percentVal = percentComplete + '%';
this.$progress
.width(percentVal)

View File

@@ -204,7 +204,7 @@ define(['jquery', 'underscore', 'jquery.ajaxQueue'], function($) {
* _getYoutubeLink('OEoXaMPEzfM'); => 'http://youtu.be/OEoXaMPEzfM'
*/
var _getYoutubeLink = function(video_id) {
return `http://youtu.be/${video_id}`;
return 'http://youtu.be/' + video_id;
};
/**
@@ -302,7 +302,7 @@ define(['jquery', 'underscore', 'jquery.ajaxQueue'], function($) {
);
xhr = $.ajaxQueue({
url: `/transcripts/${action}`,
url: '/transcripts/' + action,
data: {data: JSON.stringify(data)},
notifyOnError: false,
type: 'get'