Added minimal navigation breadcrumbs to doctests.
This commit is contained in:
@@ -4,7 +4,8 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
|
||||
<title>PIXI Resolution Doctest</title>
|
||||
|
||||
<link rel="stylesheet" href="../3rdparty/highlight/styles/default.css" />
|
||||
<link rel="stylesheet" href="../../css/doctest.css" />
|
||||
<script src="../../dist/iwmlib.3rdparty.js"></script>
|
||||
<script src="../../dist/iwmlib.js"></script>
|
||||
<script src="../../dist/iwmlib.pixi.js"></script>
|
||||
@@ -21,6 +22,7 @@
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1><a href="../index.html">lib.</a><a href="index.html">pixi.</a>Resolution</h1>
|
||||
<canvas id="canvas"></canvas>
|
||||
|
||||
<script class="doctest">
|
||||
@@ -33,10 +35,9 @@
|
||||
app.setup()
|
||||
app.run()
|
||||
|
||||
const textProps = {fontSize: 72, fill: 0xffffff}
|
||||
const textProps = { fontSize: 72, fill: 0xffffff }
|
||||
|
||||
Mousetrap.bind(['1', '2', '3', '4', '5'], (event, key) => {
|
||||
|
||||
app.stage.removeChildren()
|
||||
|
||||
let sprite = null
|
||||
|
||||
Reference in New Issue
Block a user