debugging. This is gonna be a major overhaul.

This commit is contained in:
Iam Naughton Phier 2015-02-17 14:33:21 +02:00
parent 665ac992e9
commit 46167e58bc
2 changed files with 21 additions and 13 deletions

View file

@ -1,13 +1,16 @@
<html> <html>
<head> <head>
<title>Sahli - ascii/ansi viewer</title> <title>Sahli - ascii/ansi viewer</title>
<script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.min.js"></script> <script type='text/javascript' src='http://code.jquery.com/jquery-2.1.3.min.js'></script>
<!-- you could use this if you are sure you will have internet. Not all parties have internet.
<script type="text/javascript" src="http://code.jquery.com/jquery-2.1.3.min.js"></script>
-->
<script type="text/javascript" src="ansilove.js/ansilove.js"></script> <script type="text/javascript" src="ansilove.js/ansilove.js"></script>
<script type="text/javascript" src="sahli.js"></script> <script type="text/javascript" src="sahli.js"></script>
<link rel="stylesheet" href="sahli.css" type="text/css" media="screen" /> <link rel="stylesheet" href="sahli.css" type="text/css" media="screen" />
<meta charset='UTF-8' /> <meta charset='UTF-8' />
</head> </head>
<body onload='sahli = new Sahli()' > <body>
<h1 id='top' class='hidden'>Sahli Debug</h1> <h1 id='top' class='hidden'>Sahli Debug</h1>
<div id="outbox"> <div id="outbox">
<div id='drawbox'></div> <div id='drawbox'></div>

View file

@ -1,16 +1,20 @@
# .___________________________________, ___ ###
# | / | | . \ .(___): .___________________________________, ___
# | _______ | : \ : | | / | | . \ .(___):
#: |___/ / | | \__| | | _______ | : \ : |
#| / | | | | : |___/ / | | \__| |
#l__________/__________|___|______l__________j_____j | / | | | |
# l__________/__________|___|______l__________j_____j
# Ansi/Ansi Viewer in Ecmascript
# Coded by Sir Garbagetruck / Accession 2013
# Uses fonts by DMG, http://trueschool.se
# Uses Andy Herbert's Ansilove.js for rendering.
Ansi/Ansi Viewer in Ecmascript
Coded by Sir Garbagetruck / Accession 2013
Uses fonts by DMG, http://trueschool.se
Uses Andy Herbert's Ansilove.js for rendering.
###
exports = Sahli
Sahli = ->
@outbox = $('div#outbox') @outbox = $('div#outbox')
@dbox = $('div#drawbox') @dbox = $('div#drawbox')
@image = 0 @image = 0
@ -441,5 +445,6 @@
$(window).resize -> $(window).resize ->
ref.resizedrawbox() ref.resizedrawbox()
return return
debugger
@requestsahlifile 'list.sahli' @requestsahlifile 'list.sahli'
return return