File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ const LRU = require('lru-cache');
42
42
const NQuads = require ( './NQuads' ) ;
43
43
const Rdfa = require ( './Rdfa' ) ;
44
44
45
- const { prependBase : _prependBase } = require ( './url' ) ;
45
+ const { prependBase : _prependBase } = require ( './url' ) ;
46
46
const { expand : _expand } = require ( './expand' ) ;
47
47
const { flatten : _flatten } = require ( './flatten' ) ;
48
48
const { fromRDF : _fromRDF } = require ( './fromRdf' ) ;
@@ -935,7 +935,7 @@ jsonld.get = async function(url, options) {
935
935
}
936
936
} catch ( e ) {
937
937
if ( e . name === 'jsonld.InvalidScriptElement' ) {
938
- throw ( e )
938
+ throw ( e ) ;
939
939
} else {
940
940
throw new JsonLdError (
941
941
'Could not retrieve a JSON-LD document from the URL.' ,
Original file line number Diff line number Diff line change @@ -144,17 +144,19 @@ api.parseLinkHeader = header => {
144
144
} ;
145
145
146
146
/**
147
- * Parses a content-type header. The results will be key'd by the value of "rel".
147
+ * Parses a content-type header.
148
+ * The results will be key'd by the value of "rel".
148
149
*
149
150
* Accept: application/ld+json
150
151
*
151
152
* Parses as: ["application/ld+json", {}]
152
153
*
153
154
* Accept: application/ld+json;profile=http://www.w3.org/ns/json-ld#context
154
155
*
155
- * Parses as: ["application/ld+json", {profile: "http://www.w3.org/ns/json-ld#context"}]
156
+ * Parses as: ["application/ld+json",
157
+ * {profile: "http://www.w3.org/ns/json-ld#context"}]
156
158
*
157
- * If there is more than one
159
+ * If there is more than one
158
160
*
159
161
* @param header the content-type header to parse.
160
162
*/
You can’t perform that action at this time.
0 commit comments