Skip to content

Commit cc9c64a

Browse files
committed
Apply naming suggestion
1 parent e10598d commit cc9c64a

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

public/feather_diff.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import * as tiny from "./tiny_mappings.js";
2323
const buildTargetElement = document.getElementById("build-target");
2424
const diffViewerElement = document.getElementById("diff-viewer");
2525

26-
const hideClassPath = document.getElementById("hide-class-path");
26+
const hidePackage = document.getElementById("hide-package");
2727

2828
async function updateFeatherBuilds() {
2929
if (
@@ -101,7 +101,7 @@ import * as tiny from "./tiny_mappings.js";
101101
}
102102

103103
function diffMappings(source, target) {
104-
printDiff(diffMemberArray(source.classes, target, hideClassPath.checked), "classes-diff")
104+
printDiff(diffMemberArray(source.classes, target, hidePackage.checked), "classes-diff")
105105
printDiff(diffMemberArray(source.methods, target), "methods-diff")
106106
printDiff(diffMemberArray(source.fields, target), "fields-diff")
107107
}
@@ -160,7 +160,7 @@ import * as tiny from "./tiny_mappings.js";
160160
async (_) => await updateFeatherDiff(),
161161
);
162162

163-
hideClassPath.addEventListener("change", async (_) => {
163+
hidePackage.addEventListener("change", async (_) => {
164164
await updateFeatherDiff();
165165
});
166166

src/pages/featherDiff.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ import Layout from "../layouts/Layout.astro";
4141
</select>
4242
</div>
4343
<fieldset>
44-
<input type="checkbox" id="hide-class-path" />
45-
<label for="hide-class-path">Hide class paths</label>
44+
<input type="checkbox" id="hide-package" />
45+
<label for="hide-package">Hide package</label>
4646
</fieldset>
4747
</div>
4848

0 commit comments

Comments
 (0)