mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-25 15:18:23 +00:00
d259b5c394
Added webserver::IRequest/IResponse/IDelegate interfaces.
32 lines
811 B
HTML
32 lines
811 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Aseprite</title>
|
|
<link href="aseprite.css" rel="stylesheet">
|
|
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
|
|
<script src="aseprite.js"></script>
|
|
<script type="text/javascript">
|
|
$(function() {
|
|
$('#run').click(function() {
|
|
eval($('#code').text());
|
|
});
|
|
});
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<img src="aseprite.png">
|
|
|
|
<h2>Console:</h2>
|
|
<pre id="console"></pre>
|
|
|
|
<h2>Test your code:</h2>
|
|
<textarea id="code" cols="80" rows="10">
|
|
Aseprite.get_version(function(version){
|
|
alert(version.package + "/" + version.version + " APIv" + version.api +
|
|
" (" + version.webserver + " webserver)");
|
|
});</textarea><br>
|
|
<input id="run" type="button" value="Run" style="width:200px">
|
|
|
|
</body>
|
|
</html>
|