debugging. This is gonna be a major overhaul.
This commit is contained in:
parent
665ac992e9
commit
46167e58bc
2 changed files with 21 additions and 13 deletions
|
|
@ -1,13 +1,16 @@
|
|||
<html>
|
||||
<head>
|
||||
<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="sahli.js"></script>
|
||||
<link rel="stylesheet" href="sahli.css" type="text/css" media="screen" />
|
||||
<meta charset='UTF-8' />
|
||||
</head>
|
||||
<body onload='sahli = new Sahli()' >
|
||||
<body>
|
||||
<h1 id='top' class='hidden'>Sahli Debug</h1>
|
||||
<div id="outbox">
|
||||
<div id='drawbox'></div>
|
||||
|
|
|
|||
27
sahli.coffee
27
sahli.coffee
|
|
@ -1,16 +1,20 @@
|
|||
# .___________________________________, ___
|
||||
# | / | | . \ .(___):
|
||||
# | _______ | : \ : |
|
||||
#: |___/ / | | \__| |
|
||||
#| / | | | |
|
||||
#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.
|
||||
###
|
||||
.___________________________________, ___
|
||||
| / | | . \ .(___):
|
||||
| _______ | : \ : |
|
||||
: |___/ / | | \__| |
|
||||
| / | | | |
|
||||
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.
|
||||
###
|
||||
|
||||
exports = Sahli
|
||||
|
||||
Sahli = ->
|
||||
@outbox = $('div#outbox')
|
||||
@dbox = $('div#drawbox')
|
||||
@image = 0
|
||||
|
|
@ -441,5 +445,6 @@
|
|||
$(window).resize ->
|
||||
ref.resizedrawbox()
|
||||
return
|
||||
debugger
|
||||
@requestsahlifile 'list.sahli'
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue