Skip to content

Commit

Permalink
2.3.8 simplify 86d0669
Browse files Browse the repository at this point in the history
  • Loading branch information
tophf committed Jan 19, 2025
1 parent f0da3ff commit d168286
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Stylus",
"version": "2.3.7",
"version": "2.3.8",
"description": "Redesign the web with Stylus, a user styles manager",
"license": "GPL-3.0-only",
"repository": "openstyles/stylus",
Expand Down
4 changes: 2 additions & 2 deletions src/background/style-manager/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@ export function getCore({id, code, sections, size, vars} = {}) {
style.sections = tmp;
if (!code)
style.sourceCode = undefined;
if (!vars && (tmp = style[UCD]))
style[UCD] = {...tmp, vars: tmp.vars ? {} : undefined};
if (!vars && (tmp = style[UCD]) && tmp.vars)
style[UCD] = {...tmp, vars: {}};
res.push(style);
}
return id ? res[0] : res;
Expand Down
2 changes: 1 addition & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Stylus",
"version": "2.3.7",
"version": "2.3.8",
"minimum_chrome_version": "",
"description": "__MSG_description__",
"homepage_url": "https://add0n.com/stylus.html",
Expand Down

0 comments on commit d168286

Please sign in to comment.