mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 08:18:41 +09:00
[Pale-Moon] Issue MoonchildProductions/UXP#1828 - Stop using js expression closures in Pale Moon front-end
Stop using non-standard JS expression closures in Pale Moon front-end.
This commit is contained in:
parent
e349f9b884
commit
264752661b
28 changed files with 244 additions and 149 deletions
|
|
@ -35,7 +35,7 @@ var Windows8WindowFrameColor = {
|
|||
// Zero-pad the number just to make sure that it is 8 digits.
|
||||
windowFrameColorHex = ("00000000" + windowFrameColorHex).substr(-8);
|
||||
let windowFrameColorArray = windowFrameColorHex.match(/../g);
|
||||
let [unused, fgR, fgG, fgB] = windowFrameColorArray.map(function(val) parseInt(val, 16));
|
||||
let [unused, fgR, fgG, fgB] = windowFrameColorArray.map(val => parseInt(val, 16));
|
||||
let windowFrameColorBalance = WindowsRegistry.readRegKey(HKCU, dwmKey,
|
||||
"ColorizationColorBalance");
|
||||
// Default to balance=78 if reg key isn't defined
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue