Skip to content

Commit

Permalink
Make comments accurate
Browse files Browse the repository at this point in the history
  • Loading branch information
matatk committed Dec 7, 2018
1 parent badac44 commit 12cc979
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/code/landmarksFinder.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export default function LandmarksFinder(win, doc) {


//
// Functions that refer to document or window
// Finding landmarks
//

// Recursive function for building list of landmarks from a root element
Expand Down Expand Up @@ -186,11 +186,6 @@ export default function LandmarksFinder(win, doc) {
return label
}


//
// Functions that do not refer to document or window
//

function isLandmark(role, label) {
// Region and form are landmarks only when they have labels
if (role === 'region' || role === 'form') {
Expand Down

0 comments on commit 12cc979

Please sign in to comment.