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');
4242const NQuads = require ( './NQuads' ) ;
4343const Rdfa = require ( './Rdfa' ) ;
4444
45- const { prependBase : _prependBase } = require ( './url' ) ;
45+ const { prependBase : _prependBase } = require ( './url' ) ;
4646const { expand : _expand } = require ( './expand' ) ;
4747const { flatten : _flatten } = require ( './flatten' ) ;
4848const { fromRDF : _fromRDF } = require ( './fromRdf' ) ;
@@ -935,7 +935,7 @@ jsonld.get = async function(url, options) {
935935 }
936936 } catch ( e ) {
937937 if ( e . name === 'jsonld.InvalidScriptElement' ) {
938- throw ( e )
938+ throw ( e ) ;
939939 } else {
940940 throw new JsonLdError (
941941 '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 => {
144144} ;
145145
146146/**
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".
148149 *
149150 * Accept: application/ld+json
150151 *
151152 * Parses as: ["application/ld+json", {}]
152153 *
153154 * Accept: application/ld+json;profile=http://www.w3.org/ns/json-ld#context
154155 *
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"}]
156158 *
157- * If there is more than one
159+ * If there is more than one
158160 *
159161 * @param header the content-type header to parse.
160162 */
You can’t perform that action at this time.
0 commit comments