Markdown: Use .call instead of .bind

Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
This commit is contained in:
Johannes Löthberg 2016-11-30 01:03:05 +01:00
parent 4d2926485b
commit 5f160d2e7f

View file

@ -72,7 +72,7 @@ export default class Markdown {
par = par.parent
}
if (par.firstChild != par.lastChild) {
real_paragraph.bind(this)(node, entering);
real_paragraph.call(this, node, entering);
}
}