File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ module.exports = ({
68
68
// add any optional requestProfile
69
69
if ( options . requestProfile ) {
70
70
headers . Accept =
71
- headers . Accept + " , application/ld+json;profile=${options.requestProfile}" ;
71
+ headers . Accept + ` , application/ld+json;profile=${ options . requestProfile } ` ;
72
72
}
73
73
74
74
let result ;
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ module.exports = ({
52
52
// add any optional requestProfile
53
53
if ( options . requestProfile ) {
54
54
headers . Accept =
55
- headers . Accept + " , application/ld+json;profile=${options.requestProfile}" ;
55
+ headers . Accept + ` , application/ld+json;profile=${ options . requestProfile } ` ;
56
56
}
57
57
58
58
let req ;
Original file line number Diff line number Diff line change @@ -857,7 +857,7 @@ jsonld.documentLoader = async url => {
857
857
* @param url the URL to fetch.
858
858
* @param [options] the options to use:
859
859
* [documentLoader] the document loader to use.
860
- * [extractAllScripts] concatenates all matching script elements..
860
+ * [extractAllScripts] concatenates all matching script elements.
861
861
* [profile] used when selecting from HTML script elements.
862
862
* [requestProfile] one or more profile IRIs to use in the request.
863
863
*
@@ -920,7 +920,7 @@ jsonld.get = async function(url, options) {
920
920
}
921
921
if ( frag && remoteDoc . document . length === 0 ) {
922
922
throw new JsonLdError (
923
- ' No script tag found with id=${frag}.' ,
923
+ ` No script tag found with id=${ frag } .` ,
924
924
'jsonld.InvalidScriptElement' , {
925
925
code : 'invalid script element' ,
926
926
remoteDoc
You can’t perform that action at this time.
0 commit comments