ansilove.js

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

commit c16f34db26a7dbc71f97d3a01ac65bfb019237f3
parent aab812d32cf68039606e0be5a8fe6a3ff5813a9d
Author: Andy Herbert <andyh@MacBookPro.local>
Date:   Sat, 26 Oct 2013 20:43:15 +0100

Small changes way raw data is delivered to ansilove.js.

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

diff --git a/ansilove.js b/ansilove.js @@ -1582,11 +1582,11 @@ var AnsiLove = (function () { render(url, bytes, callback, splitRows || 27, options || {}); }, callbackFail); }, - "renderLocal": function (name, bytes, callback, options) { - render(name, bytes, callback, 0, options || {}); + "renderBytes": function (bytes, callback, options) { + render("", bytes, callback, 0, options || {}); }, - "splitRenderLocal": function (name, bytes, callback, splitRows, options) { - render(name, bytes, callback, splitRows || 27, options || {}); + "splitRenderBytes": function (bytes, callback, splitRows, options) { + render("", bytes, callback, splitRows || 27, options || {}); }, "animate": function (url, callback, options, callbackFail) { return animate(url, callback, options || {}, callbackFail);