File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ module.exports = ({
6868 // add any optional requestProfile
6969 if ( options . requestProfile ) {
7070 headers . Accept =
71- headers . Accept + " , application/ld+json;profile=${options.requestProfile}" ;
71+ headers . Accept + ` , application/ld+json;profile=${ options . requestProfile } ` ;
7272 }
7373
7474 let result ;
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ module.exports = ({
5252 // add any optional requestProfile
5353 if ( options . requestProfile ) {
5454 headers . Accept =
55- headers . Accept + " , application/ld+json;profile=${options.requestProfile}" ;
55+ headers . Accept + ` , application/ld+json;profile=${ options . requestProfile } ` ;
5656 }
5757
5858 let req ;
Original file line number Diff line number Diff line change @@ -865,7 +865,7 @@ jsonld.documentLoader = async url => {
865865 * @param url the URL to fetch.
866866 * @param [options] the options to use:
867867 * [documentLoader] the document loader to use.
868- * [extractAllScripts] concatenates all matching script elements..
868+ * [extractAllScripts] concatenates all matching script elements.
869869 * [profile] used when selecting from HTML script elements.
870870 * [requestProfile] one or more profile IRIs to use in the request.
871871 *
@@ -928,7 +928,7 @@ jsonld.get = async function(url, options) {
928928 }
929929 if ( frag && remoteDoc . document . length === 0 ) {
930930 throw new JsonLdError (
931- ' No script tag found with id=${frag}.' ,
931+ ` No script tag found with id=${ frag } .` ,
932932 'jsonld.InvalidScriptElement' , {
933933 code : 'invalid script element' ,
934934 remoteDoc
You can’t perform that action at this time.
0 commit comments