ansilove.js

A script to display ANSi and artscene related file formats on web pages
Log | Files | Refs | README | LICENSE

commit c1c475e08944940ea4ae6afd840bf52ede28bcb7
parent 23d7027ec021f76307e52b16491720b787583caa
Author: Andy Herbert <andy.herbert@gmail.com>
Date:   Thu, 17 Oct 2013 20:17:24 +0100

Added error-handling abilities to render and splitRender.

Diffstat:
Mansilove.js | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/ansilove.js b/ansilove.js @@ -1431,11 +1431,11 @@ var AnsiLove = (function () { } return { - "render": function (url, callback, options) { - render(url, callback, 0, options); + "render": function (url, callback, options, callbackFail) { + render(url, callback, 0, options, callbackFail); }, - "splitRender": function (url, callback, splitRows, options) { - render(url, callback, splitRows || 27, options); + "splitRender": function (url, callback, splitRows, options, callbackFail) { + render(url, callback, splitRows || 27, options, callbackFail); }, "animate": animate, "sauce": sauce