Enable eslint indentation rule.

This is a fully automated change.  The linter will fail because the
extra indentation caused line-length errors.  These won't be fixed
automatically.  They are fixed in a follow-up to make this one fully
automated.

Change-Id: I4d8cf9c998985add2bcd24a81c8d65495668c4f3
This commit is contained in:
Jacob Trimble
2019-05-13 15:20:37 -07:00
parent 615b46d70c
commit f130dffcef
135 changed files with 5318 additions and 5319 deletions
+3 -3
View File
@@ -35,8 +35,8 @@ goog.require('shaka.util.StringUtils');
*/
shaka.util.Uint8ArrayUtils.toStandardBase64 = function(u8Arr) {
const bytes = shaka.util.StringUtils.fromCharCode(u8Arr);
return btoa(bytes);
const bytes = shaka.util.StringUtils.fromCharCode(u8Arr);
return btoa(bytes);
};
/**
@@ -51,7 +51,7 @@ shaka.util.Uint8ArrayUtils.toStandardBase64 = function(u8Arr) {
shaka.util.Uint8ArrayUtils.toBase64 = function(arr, padding) {
padding = (padding == undefined) ? true : padding;
const base64 = shaka.util.Uint8ArrayUtils.toStandardBase64(arr)
.replace(/\+/g, '-').replace(/\//g, '_');
.replace(/\+/g, '-').replace(/\//g, '_');
return padding ? base64 : base64.replace(/[=]*$/, '');
};