From f0d25b7bd5273db18742f0118c4db1ce153801cb Mon Sep 17 00:00:00 2001 From: Estevao Soares dos Santos Date: Thu, 1 Dec 2016 15:48:30 +0000 Subject: [PATCH] fix(listeners): fix listeners typo Closes #290 --- dist/showdown.js | Bin 71619 -> 71621 bytes dist/showdown.js.map | Bin 211054 -> 211056 bytes dist/showdown.min.js | Bin 29226 -> 29236 bytes dist/showdown.min.js.map | Bin 32472 -> 32471 bytes src/converter.js | 2 +- 5 files changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/showdown.js b/dist/showdown.js index 4f9b20853bad97bbf71ead58eee3434498f2a51d..2543353c823bb22364b592023fa4294e98575673 100644 GIT binary patch delta 26 icmX@Sp5^FzmJLRM-0C@*#U-hEsYS)=o2>&ojsXCZ9}3|B delta 24 gcmX@Qp5^d*mJLRMoH?1rC8>F-Ma7$K13QiZ0E2=GlK=n! diff --git a/dist/showdown.js.map b/dist/showdown.js.map index 48868f68c73c68d0c5c8276c9efdbd21fab6facb..a1f33af070f513cc0dbe069e116c8a15c4174775 100644 GIT binary patch delta 83 zcmV-Z0IdJ+@C@+q46rDk2}MCcMJ!W6K~t9@9sv`R{ErBiPgemCmmm!S6q9gw6p|bT plH3K8&z=gCtSbqFpq{s&o&nLy3ny%8b97~HWpZ;Tw|Z#;^v*KYApigX delta 64 zcmV-G0Kfn6@C@$o46rDkld!HFll@5&lkb=Xmmm!S6q9gw6p|bTlH3K8&z=gCtSbqF Wpq{s&o&nLymtHpl7q^OO0_M)x2OVYr diff --git a/dist/showdown.min.js b/dist/showdown.min.js index 7e6668e09d076191eb32403278acd961579bd9ce..94b75e683cd2896e7e3520692cc9b4815c3cebcf 100644 GIT binary patch delta 26 icmZ4WgmKFg#tl!ExRr7;i%U}TQj3a}Ha}Bx@dp5+?+aD{ delta 16 Ycmdn;gmKjq#tl!E81pxOP;&7H07o$gr~m)} diff --git a/dist/showdown.min.js.map b/dist/showdown.min.js.map index 5c4352e032606a2304594f9d3a7528052157b778..d02b6cc5048e11958c27e7e64e560a16dd45333a 100644 GIT binary patch delta 33 pcmccdm+|^v#tl1kgme-eohzJlJRKdqb=(~tJ@cJ5pVr|G0s!n{3|9aE delta 34 ocmccqm+{75#tl1kgfpFV+#Q`OoOC=L9le1}M^E?7r*wFO0QfWvegFUf diff --git a/src/converter.js b/src/converter.js index 9a0c391..bacf033 100644 --- a/src/converter.js +++ b/src/converter.js @@ -126,7 +126,7 @@ showdown.Converter = function (converterOptions) { outputModifiers.push(ext[i]); break; } - if (ext[i].hasOwnProperty(listeners)) { + if (ext[i].hasOwnProperty('listeners')) { for (var ln in ext[i].listeners) { if (ext[i].listeners.hasOwnProperty(ln)) { listen(ln, ext[i].listeners[ln]);