markdown.js: Add error function to blueslip.

If we do not add this, we get an exception before we reach the
assertion.
This commit is contained in:
Umair Khan
2017-11-24 10:33:26 +05:00
committed by Tim Abbott
parent 9d0eea8dd1
commit c78846a274

View File

@@ -40,7 +40,7 @@ set_global('page_params', {
],
});
set_global('blueslip', {});
set_global('blueslip', {error: function () {}});
set_global('Image', function () {
return {};