willtheorangeguy / willtheorangeguy.github.io

Found single char variable name JS-C1002
Anti-pattern
Minor
5 months ago2 years old
 107        if (Object.prototype.hasOwnProperty.call(n, i)) {
 108          var o = n[i],
 109            r = e[i],
 110            a = 111              r && l.isElement(r) 112                ? "element" 113                : (s = r) === null || typeof s == "undefined" 114                  ? "" + s 115                  : {}.toString 116                      .call(s) 117                      .match(/\s([a-z]+)/i)[1] 118                      .toLowerCase(); 119          if (!new RegExp(o).test(a))
 120            throw new Error(
 121              t.toUpperCase() +
23          }
24        );
25      console.debug("User theming enabled.");
26      let t,27        n = s();
28      switch ((console.debug(`User's theme variation: ${n}`), n)) {
29        case 0:
 6  (() => {
 7    var t,
 8      n,
 9      e = document.body;10    function s() {
11      return parseInt(localStorage.getItem("wcTheme") || 2);
12    }
 4
 5(() => {
 6  (() => {
 7    var t, 8      n,
 9      e = document.body;
10    function s() {
4222        (t._jQueryInterface = function (e) {
4223          return this.each(function () {
4224            var n = i.default(this),
4225              o = n.data("bs.toast");4226            if (
4227              (o ||
4228                ((o = new t(this, typeof e == "object" && e)),