mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
build
This commit is contained in:
parent
f9bc0ac97d
commit
c2cfcc2c36
BIN
dist/showdown.js
vendored
BIN
dist/showdown.js
vendored
Binary file not shown.
BIN
dist/showdown.js.map
vendored
BIN
dist/showdown.js.map
vendored
Binary file not shown.
BIN
dist/showdown.min.js
vendored
BIN
dist/showdown.min.js
vendored
Binary file not shown.
BIN
dist/showdown.min.js.map
vendored
BIN
dist/showdown.min.js.map
vendored
Binary file not shown.
|
@ -212,14 +212,14 @@ showdown.subParser('makehtml.link', function (text, options, globals) {
|
|||
function writeAnchorTag (subEvtName, pattern, wholeMatch, text, linkId, url, title, emptyCase) {
|
||||
|
||||
let matches = {
|
||||
_wholeMatch: wholeMatch,
|
||||
_linkId: linkId,
|
||||
_url: url,
|
||||
_title: title,
|
||||
text: text
|
||||
},
|
||||
otp,
|
||||
attributes = {};
|
||||
_wholeMatch: wholeMatch,
|
||||
_linkId: linkId,
|
||||
_url: url,
|
||||
_title: title,
|
||||
text: text
|
||||
},
|
||||
otp,
|
||||
attributes = {};
|
||||
|
||||
title = title || null;
|
||||
url = url || null;
|
||||
|
|
|
@ -7,13 +7,7 @@
|
|||
|
||||
describe('showdown.Event', function () {
|
||||
'use strict';
|
||||
const subparserList = showdown.getSubParserList();
|
||||
const eventTypes = [
|
||||
'onStart',
|
||||
'onEnd',
|
||||
'onCapture',
|
||||
'onHash'
|
||||
];
|
||||
//const subparserList = showdown.getSubParserList();
|
||||
|
||||
const testSpec = {
|
||||
makehtml: {
|
||||
|
@ -267,6 +261,7 @@ describe('showdown.Event', function () {
|
|||
});
|
||||
|
||||
describe('makehtml', function () {
|
||||
/* jshint -W083*/
|
||||
for (let parser in testSpec.makehtml) {
|
||||
|
||||
describe(parser, function () {
|
||||
|
@ -277,6 +272,7 @@ describe('showdown.Event', function () {
|
|||
title += 'trigger "' + event + ' event"';
|
||||
let expected = testSpec.makehtml[parser][ts].result;
|
||||
let actual = false;
|
||||
|
||||
it(title, function () {
|
||||
converter.listen(event, function () {
|
||||
actual = true;
|
||||
|
@ -286,8 +282,8 @@ describe('showdown.Event', function () {
|
|||
});
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
/* jshint +W083*/
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user