Skip to content

Commit 1eacd0e

Browse files
committed
Add missing semicolons
1 parent f93d858 commit 1eacd0e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

lib/marked.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ InlineLexer.prototype.output = function(src) {
744744
? this.options.sanitizer
745745
? this.options.sanitizer(cap[0])
746746
: escape(cap[0])
747-
: cap[0]
747+
: cap[0];
748748
continue;
749749
}
750750

@@ -847,7 +847,7 @@ InlineLexer.prototype.output = function(src) {
847847

848848
InlineLexer.escapes = function(text) {
849849
return text ? text.replace(InlineLexer.rules._escapes, '$1') : text;
850-
}
850+
};
851851

852852
/**
853853
* Compile Link
@@ -983,7 +983,7 @@ Renderer.prototype.checkbox = function(checked) {
983983
+ 'disabled="" type="checkbox"'
984984
+ (this.options.xhtml ? ' /' : '')
985985
+ '> ';
986-
}
986+
};
987987

988988
Renderer.prototype.paragraph = function(text) {
989989
return '<p>' + text + '</p>\n';
@@ -1093,16 +1093,16 @@ TextRenderer.prototype.codespan =
10931093
TextRenderer.prototype.del =
10941094
TextRenderer.prototype.text = function (text) {
10951095
return text;
1096-
}
1096+
};
10971097

10981098
TextRenderer.prototype.link =
10991099
TextRenderer.prototype.image = function(href, title, text) {
11001100
return '' + text;
1101-
}
1101+
};
11021102

11031103
TextRenderer.prototype.br = function() {
11041104
return '';
1105-
}
1105+
};
11061106

11071107
/**
11081108
* Parsing & Compiling
@@ -1473,7 +1473,7 @@ function marked(src, opt, callback) {
14731473
i = 0;
14741474

14751475
try {
1476-
tokens = Lexer.lex(src, opt)
1476+
tokens = Lexer.lex(src, opt);
14771477
} catch (e) {
14781478
return callback(e);
14791479
}
@@ -1572,7 +1572,7 @@ marked.getDefaults = function () {
15721572
tables: true,
15731573
xhtml: false
15741574
};
1575-
}
1575+
};
15761576

15771577
marked.defaults = marked.getDefaults();
15781578

0 commit comments

Comments
 (0)