[lint] fix whitespace
This commit is contained in:
parent
6f8922e296
commit
1a19028b66
@ -436,8 +436,7 @@ Lexer.prototype.token = function(src, top, bq) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (src) {
|
if (src) {
|
||||||
throw new
|
throw new Error('Infinite loop on byte: ' + src.charCodeAt(0));
|
||||||
Error('Infinite loop on byte: ' + src.charCodeAt(0));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -526,8 +525,7 @@ function InlineLexer(links, options) {
|
|||||||
this.renderer.options = this.options;
|
this.renderer.options = this.options;
|
||||||
|
|
||||||
if (!this.links) {
|
if (!this.links) {
|
||||||
throw new
|
throw new Error('Tokens array requires a `links` property.');
|
||||||
Error('Tokens array requires a `links` property.');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.options.gfm) {
|
if (this.options.gfm) {
|
||||||
@ -690,8 +688,7 @@ InlineLexer.prototype.output = function(src) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (src) {
|
if (src) {
|
||||||
throw new
|
throw new Error('Infinite loop on byte: ' + src.charCodeAt(0));
|
||||||
Error('Infinite loop on byte: ' + src.charCodeAt(0));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1176,7 +1173,6 @@ function merge(obj) {
|
|||||||
return obj;
|
return obj;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Marked
|
* Marked
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user