forked from Botanical/BotanJS
Initial commit
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Botan JS - Test</title>
|
||||
<script>
|
||||
var debugEnv = true;
|
||||
</script>
|
||||
|
||||
<link href="/ocss/Dandelion.CSSAnimations.MovieClip" rel="stylesheet" type="text/css" />
|
||||
<script src="/ojs/Dandelion.CSSAnimations.MovieClip"></script>
|
||||
<script>
|
||||
function load ()
|
||||
{
|
||||
var CSSAnimations = BotanJS.import( "Dandelion.CSSAnimations.*" );
|
||||
var mc = new CSSAnimations.MovieClip(
|
||||
"http://file.astropenguin.net/blog/Gothic/__A.png"
|
||||
// Row, Col
|
||||
, 6 , 7
|
||||
// wh
|
||||
, 125 , 125
|
||||
// Frame, start
|
||||
, 42 , 0
|
||||
);
|
||||
|
||||
// CSSAnimations.MouseOverMovie( mc );
|
||||
|
||||
document.body.appendChild( mc.stage );
|
||||
mc.nextFrame();
|
||||
mc.nextFrame();
|
||||
mc.nextFrame();
|
||||
mc.nextFrame();
|
||||
mc.nextFrame();
|
||||
|
||||
mc.prevFrame();
|
||||
|
||||
};
|
||||
</script>
|
||||
|
||||
<body onload="load()">
|
||||
</body>
|
||||
</html>
|
25
botanjs/service/templates/test/System.Net.ClassLoader.html
Normal file
25
botanjs/service/templates/test/System.Net.ClassLoader.html
Normal file
@@ -0,0 +1,25 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Botan JS - Test</title>
|
||||
<script>
|
||||
var debugEnv = true;
|
||||
var _AstConf_ = { };
|
||||
</script>
|
||||
|
||||
<link href="/ocss/System.Net.ClassLoader" rel="stylesheet" type="text/css" />
|
||||
<script src="/ojs/System.Net.ClassLoader"></script>
|
||||
<script>
|
||||
var Loader = BotanJS.import( "System.Net.ClassLoader" );
|
||||
|
||||
var makeMessagebox = function()
|
||||
{
|
||||
var MessageBox = BotanJS.import( "Components.MessageBox" );
|
||||
new MessageBox( "Title", "Message" ).show();
|
||||
};
|
||||
|
||||
var ldr = new Loader( "/" );
|
||||
ldr.load( "Components.MessageBox", makeMessagebox );
|
||||
</script>
|
||||
<body>
|
||||
</body>
|
||||
</html>
|
13
botanjs/service/templates/test/System.utils.IKey.html
Normal file
13
botanjs/service/templates/test/System.utils.IKey.html
Normal file
@@ -0,0 +1,13 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Botan JS - Test</title>
|
||||
<script>
|
||||
var debugEnv = true;
|
||||
var _AstConf_ = { };
|
||||
</script>
|
||||
|
||||
<link href="/ocss/System.utils.IKey" rel="stylesheet" type="text/css" />
|
||||
<script src="/ojs/System.utils.IKey"></script>
|
||||
<body>
|
||||
</body>
|
||||
</html>
|
19
botanjs/service/templates/test_list.html
Normal file
19
botanjs/service/templates/test_list.html
Normal file
@@ -0,0 +1,19 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Botan JS - List of Tests</title>
|
||||
<style>
|
||||
<!--
|
||||
body {
|
||||
font-size: 1.2em;
|
||||
}
|
||||
-->
|
||||
</style>
|
||||
<body>
|
||||
<pre>
|
||||
{% for d in data %}
|
||||
<a href="/test/{{ d }}">{{ d }}</a>
|
||||
<br>
|
||||
{% endfor %}
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user