Skip to content

Commit cf0fad4

Browse files
committed
fixed
1 parent 116df79 commit cf0fad4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/rdap-validator.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2787,7 +2787,7 @@ self.objectClassNameReferences = {
27872787
self.gTLDConformance = [
27882788
["icann_rdap_response_profile_1", "feb24-rp", "page=2"],
27892789
["icann_rdap_technical_implementation_guide_1", "feb24-tig", "page=2"],
2790-
]
2790+
];
27912791

27922792
/**
27932793
* Regexp used as a first-pass check that an eventDate is a valid datetime.
@@ -2808,7 +2808,7 @@ self.requiredJCardProperties = [
28082808
self.requiredJCardPropertiesCardinality = {
28092809
"1" : "exactly one",
28102810
"1*": "at least one",
2811-
}
2811+
};
28122812

28132813
/**
28142814
* Generate a URL given the current specification and a fragment.
@@ -2825,12 +2825,12 @@ self.ref = function(fragment, alternateSpec=null) {
28252825
+ (fragment ? "#" + fragment : "");
28262826

28272827
}
2828-
}
2828+
};
28292829

28302830
/**
28312831
* Get a domain/nameserver name from the last segment of the path of the given
28322832
* URL.
28332833
*/
2834-
self.nameFromPath(url) {
2834+
self.nameFromPath = function(url) {
28352835
return decodeURI((new URL(url)).pathname.split("/").pop()).normalize("NFC");
2836-
}
2836+
};

0 commit comments

Comments
 (0)