fix(listeners): fix listeners typo

Closes #290
This commit is contained in:
Estevao Soares dos Santos 2016-12-01 15:48:30 +00:00
parent 9683eefaf1
commit f0d25b7bd5
5 changed files with 1 additions and 1 deletions

BIN
dist/showdown.js vendored

Binary file not shown.

BIN
dist/showdown.js.map vendored

Binary file not shown.

BIN
dist/showdown.min.js vendored

Binary file not shown.

Binary file not shown.

View File

@ -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]);