Skip to content
This repository was archived by the owner on Nov 4, 2023. It is now read-only.

Commit adbaef1

Browse files
committedDec 28, 2019
Remove trailing spaces
1 parent a44979e commit adbaef1

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed
 

‎lib/source-map-resolve-node.js

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
var sourceMappingURL = require("source-map-url")
2+
23
var resolveUrl = require("./resolve-url")
34
var decodeUriComponent = require("./decode-uri-component")
45
var urix = require("urix")
@@ -71,17 +72,17 @@ var dataUriRegex = /^data:([^,;]*)(;[^,;]*)*(?:,(.*))?$/
7172

7273
/**
7374
* The media type for JSON text is application/json.
74-
*
75+
*
7576
* {@link https://tools.ietf.org/html/rfc8259#section-11 | IANA Considerations }
76-
*
77+
*
7778
* `text/json` is non-standard media type
7879
*/
7980
var jsonMimeTypeRegex = /^(?:application|text)\/json$/
8081

8182
/**
8283
* JSON text exchanged between systems that are not part of a closed ecosystem
8384
* MUST be encoded using UTF-8.
84-
*
85+
*
8586
* {@link https://tools.ietf.org/html/rfc8259#section-8.1 | Character Encoding}
8687
*/
8788
var jsonCharacterEncoding = "utf-8"
@@ -104,7 +105,7 @@ function decodeBase64String(b64) {
104105
// Note: `decoder.decode` method will throw a `DOMException` with the
105106
// `"EncodingError"` value when an coding error is found.
106107
var decoder = new TextDecoder(jsonCharacterEncoding, {fatal: true})
107-
return decoder.decode(buf);
108+
return decoder.decode(buf);
108109
}
109110

110111
function resolveSourceMapHelper(code, codeUrl) {

‎source-map-resolve.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -79,17 +79,17 @@ void (function(root, factory) {
7979

8080
/**
8181
* The media type for JSON text is application/json.
82-
*
82+
*
8383
* {@link https://tools.ietf.org/html/rfc8259#section-11 | IANA Considerations }
84-
*
84+
*
8585
* `text/json` is non-standard media type
8686
*/
8787
var jsonMimeTypeRegex = /^(?:application|text)\/json$/
8888

8989
/**
9090
* JSON text exchanged between systems that are not part of a closed ecosystem
9191
* MUST be encoded using UTF-8.
92-
*
92+
*
9393
* {@link https://tools.ietf.org/html/rfc8259#section-8.1 | Character Encoding}
9494
*/
9595
var jsonCharacterEncoding = "utf-8"
@@ -112,7 +112,7 @@ void (function(root, factory) {
112112
// Note: `decoder.decode` method will throw a `DOMException` with the
113113
// `"EncodingError"` value when an coding error is found.
114114
var decoder = new TextDecoder(jsonCharacterEncoding, {fatal: true})
115-
return decoder.decode(buf);
115+
return decoder.decode(buf);
116116
}
117117

118118
function resolveSourceMapHelper(code, codeUrl) {

0 commit comments

Comments
 (0)
This repository has been archived.