one-more-token 0.5.0 → 0.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -134,7 +134,7 @@
134
134
  }
135
135
 
136
136
  </style>
137
- <script>(() => {
137
+ <script>(function () {
138
138
  var parseThemePrefs = function parseThemePrefs(raw) {
139
139
  let value = null;
140
140
  try {
@@ -165,7 +165,7 @@
165
165
  }
166
166
  return "es";
167
167
  };
168
- var read = (k) => { try { return window.localStorage.getItem(k); } catch (e) { return null; } };
168
+ var read = function (k) { try { return window.localStorage.getItem(k); } catch (e) { return null; } };
169
169
  var root = document.documentElement;
170
170
  var dark = !!window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches;
171
171
  root.setAttribute("data-theme", resolveTheme(parseThemePrefs(read("omt.theme")), dark));