repair doctests - not yet finished

This commit is contained in:
Manfred Knobloch 2019-05-22 16:03:19 +02:00
parent c0d51af664
commit 190d28b6df
55 changed files with 305 additions and 316 deletions

View File

@ -85199,86 +85199,86 @@ module.exports = function (_Plugin) {
},{}]},{},[13]); },{}]},{},[13]);
/*jslint plusplus: true, vars: true, indent: 2 */ /*jslint plusplus: true, vars: true, indent: 2 */
/* convertPointFromPageToNode.js from /* convertPointFromPageToNode.js from
<script src="https://gist.github.com/Yaffle/1145197.js"></script> <script src="https://gist.github.com/Yaffle/1145197.js"></script>
convertPointFromPageToNode(element, event.pageX, event.pageY) -> {x, y} convertPointFromPageToNode(element, event.pageX, event.pageY) -> {x, y}
returns coordinate in element's local coordinate system (works properly returns coordinate in element's local coordinate system (works properly
with css transforms without perspective projection) with css transforms without perspective projection)
convertPointFromNodeToPage(element, offsetX, offsetY) -> {x, y} convertPointFromNodeToPage(element, offsetX, offsetY) -> {x, y}
returns coordinate in window's coordinate system (works properly with returns coordinate in window's coordinate system (works properly with
css transforms without perspective projection) css transforms without perspective projection)
*/ */
(function () { (function () {
'use strict' 'use strict'
var I = (typeof(WebKitCSSMatrix) == 'undefined') ? new DOMMatrix() : new WebKitCSSMatrix() var I = (typeof(WebKitCSSMatrix) == 'undefined') ? new DOMMatrix() : new WebKitCSSMatrix()
function Point(x, y, z) { function Point(x, y, z) {
this.x = x this.x = x
this.y = y this.y = y
this.z = z this.z = z
} }
Point.prototype.transformBy = function (matrix) { Point.prototype.transformBy = function (matrix) {
var tmp = matrix.multiply(I.translate(this.x, this.y, this.z)) var tmp = matrix.multiply(I.translate(this.x, this.y, this.z))
return new Point(tmp.m41, tmp.m42, tmp.m43) return new Point(tmp.m41, tmp.m42, tmp.m43)
} }
function createMatrix(transform) { function createMatrix(transform) {
try { try {
return (typeof(WebKitCSSMatrix) == 'undefined') ? new DOMMatrix(transform) : new WebKitCSSMatrix(transform) return (typeof(WebKitCSSMatrix) == 'undefined') ? new DOMMatrix(transform) : new WebKitCSSMatrix(transform)
} catch(e) { } catch(e) {
console.warn(transform) console.warn(transform)
console.warn(e.toString()) console.warn(e.toString())
return I return I
} }
} }
function getTransformationMatrix(element) { function getTransformationMatrix(element) {
var transformationMatrix = I var transformationMatrix = I
var x = element var x = element
while (x != undefined && x !== x.ownerDocument.documentElement) { while (x != undefined && x !== x.ownerDocument.documentElement) {
var computedStyle = window.getComputedStyle(x, undefined) var computedStyle = window.getComputedStyle(x, undefined)
var transform = computedStyle.transform || 'none' var transform = computedStyle.transform || 'none'
var c = transform === 'none' ? I : createMatrix(transform) var c = transform === 'none' ? I : createMatrix(transform)
transformationMatrix = c.multiply(transformationMatrix) transformationMatrix = c.multiply(transformationMatrix)
x = x.parentNode x = x.parentNode
} }
var w = element.offsetWidth var w = element.offsetWidth
var h = element.offsetHeight var h = element.offsetHeight
var i = 4 var i = 4
var left = +Infinity var left = +Infinity
var top = +Infinity var top = +Infinity
while (--i >= 0) { while (--i >= 0) {
var p = new Point(i === 0 || i === 1 ? 0 : w, i === 0 || i === 3 ? 0 : h, var p = new Point(i === 0 || i === 1 ? 0 : w, i === 0 || i === 3 ? 0 : h,
0).transformBy(transformationMatrix) 0).transformBy(transformationMatrix)
if (p.x < left) { if (p.x < left) {
left = p.x left = p.x
} }
if (p.y < top) { if (p.y < top) {
top = p.y top = p.y
} }
} }
var rect = element.getBoundingClientRect() var rect = element.getBoundingClientRect()
transformationMatrix = I.translate(window.pageXOffset + rect.left - left, transformationMatrix = I.translate(window.pageXOffset + rect.left - left,
window.pageYOffset + rect.top - top, 0) window.pageYOffset + rect.top - top, 0)
.multiply(transformationMatrix) .multiply(transformationMatrix)
return transformationMatrix return transformationMatrix
} }
window.convertPointFromPageToNode = function (element, pageX, pageY) { window.convertPointFromPageToNode = function (element, pageX, pageY) {
return new Point(pageX, pageY, 0).transformBy( return new Point(pageX, pageY, 0).transformBy(
getTransformationMatrix(element).inverse()) getTransformationMatrix(element).inverse())
} }
window.convertPointFromNodeToPage = function (element, offsetX, offsetY) { window.convertPointFromNodeToPage = function (element, offsetX, offsetY) {
return new Point(offsetX, offsetY, 0).transformBy( return new Point(offsetX, offsetY, 0).transformBy(
getTransformationMatrix(element)) getTransformationMatrix(element))
} }
}()) }())

View File

@ -1,55 +1,54 @@
<!doctype html> <!doctype html>
<html lang="en"> <html lang="en">
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="../lib/3rdparty/highlight/styles/default.css"> <link rel="stylesheet" href="./3rdparty/highlight/styles/default.css">
<link rel="stylesheet" href="../css/doctest.css"> <link rel="stylesheet" href="../css/doctest.css">
<script src="../lib/3rdparty/highlight/highlight.pack.js"></script> <script src="./3rdparty/highlight/highlight.pack.js"></script>
<script src="all.js"></script> <script src="../dist/iwmlib.js"></script>
<!-- <script type="text/javascript" src="interface.js"></script> --> <!-- <script type="text/javascript" src="interface.js"></script> -->
</head> </head>
<body onload="Doctest.run()" >
<h1> <body onload="Doctest.run()">
Application <h1>
</h1> Application
<p> </h1>
IWM Browser Applications follow a common three phase pattern, shared by <p>
many programming environments as diverse as Processing, Arduino, Intern, etc. IWM Browser Applications follow a common three phase pattern, shared by many programming environments as diverse as Processing, Arduino, Intern, etc.
<ul> <ul>
<li>Instantiate: Initialize the application, in this case a singleton and it's instance variables</li> <li>Instantiate: Initialize the application, in this case a singleton and it's instance variables</li>
<li>Setup: Build more complex parts of the application, by loading data, creating the UI...</li> <li>Setup: Build more complex parts of the application, by loading data, creating the UI...</li>
<li>Run: Enter and run the main loop of the application.</li> <li>Run: Enter and run the main loop of the application.</li>
</ul> </ul>
This pattern is reflected by the IApp Interface: This pattern is reflected by the IApp Interface:
</p> </p>
<pre><code class="js"> <pre><code class="js">
class IApp extends Interface { class IApp extends Interface {
setup() { return this } setup() { return this }
run() { return this } run() { return this }
} }
</code></pre> </code></pre>
<p>In practice the pattern may be more complex, because the setup phase can only be entered <p>In practice the pattern may be more complex, because the setup phase can only be entered after loading things, a main loop cannot be entered because requirements are not met, etc. But the basic structure is always the same:
after loading things, a main loop cannot be entered because requirements are not met, etc. </p>
But the basic structure is always the same: <script type="module" class="doctest">
</p> console.log("Innerhalb script type=module")
<script type="module" class="doctest"> import App from "./app.js"
console.log("Innerhalb script type=module") const app = new App()
import App from "./app.js" app.setup()
const app = new App() app.run()
app.setup() window.app = app
app.run() </script>
window.app = app <p>The setup and run methods can also be chained:
</script> </p>
<p>The setup and run methods can also be chained: <script type="module" class="doctest">
</p> app.setup().run()
<script type="module" class="doctest"> </script>
app.setup().run()
</script>
<h2> <h2>
References References
</h2> </h2>
<ul> <ul>
<li><a href="https://theintern.github.io/intern/#common-config">Intern. Software testing for humans</a></li> <li><a href="https://theintern.github.io/intern/#common-config">Intern. Software testing for humans</a></li>
</ul> </ul>
</body> </body>

View File

@ -3,10 +3,10 @@
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Doctests Capabilities</title> <title>Doctests Capabilities</title>
<link rel="stylesheet" href="../lib/3rdparty/highlight/styles/default.css"> <link rel="stylesheet" href="./3rdparty/highlight/styles/default.css">
<link rel="stylesheet" href="../css/doctest.css"> <link rel="stylesheet" href="../css/doctest.css">
<script src="../lib/3rdparty/highlight/highlight.pack.js"></script> <script src="./3rdparty/highlight/highlight.pack.js"></script>
<script type="text/javascript" src="all.js"></script> <script type="text/javascript" src="../dist/iwmlib.js"></script>
</head> </head>
<body onload="Doctest.run(); CapabilitiesTests.testAll()"> <body onload="Doctest.run(); CapabilitiesTests.testAll()">
<main> <main>

View File

@ -4,11 +4,11 @@
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Coordinates Doctest</title> <title>Coordinates Doctest</title>
<link rel="stylesheet" href="../lib/3rdparty/highlight/styles/default.css"> <link rel="stylesheet" href="./3rdparty/highlight/styles/default.css">
<link rel="stylesheet" href="../css/doctest.css"> <link rel="stylesheet" href="../css/doctest.css">
<script src="./3rdparty/highlight/highlight.pack.js"></script> <script src="./3rdparty/highlight/highlight.pack.js"></script>
<script src="./3rdparty/all.js"></script> <script src="./3rdparty/all.js"></script>
<script src="all.js"></script> <script src="../dist/iwmlib.js"></script>
<script> <script>
function drawPolygons() { function drawPolygons() {
canvas.width = main.getBoundingClientRect().width canvas.width = main.getBoundingClientRect().width

View File

@ -3,11 +3,11 @@
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Doctests</title> <title>Doctests</title>
<link rel="stylesheet" href="../lib/3rdparty/highlight/styles/default.css"> <link rel="stylesheet" href="./3rdparty/highlight/styles/default.css">
<link rel="stylesheet" href="../css/doctest.css"> <link rel="stylesheet" href="../css/doctest.css">
<script src="../lib/3rdparty/highlight/highlight.pack.js"></script> <script src="./3rdparty/highlight/highlight.pack.js"></script>
<script src="../lib/3rdparty/all.js"></script> <script src="./3rdparty/all.js"></script>
<script src="all.js"></script> <script src="../dist/iwmlib.js"></script>
</head> </head>
<body onload="Doctest.run()"> <body onload="Doctest.run()">
<main> <main>

View File

@ -3,11 +3,11 @@
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Electron Node.js Test</title> <title>Electron Node.js Test</title>
<link rel="stylesheet" href="../lib/3rdparty/highlight/styles/default.css"> <link rel="stylesheet" href="./3rdparty/highlight/styles/default.css">
<link rel="stylesheet" href="../css/doctest.css"> <link rel="stylesheet" href="../css/doctest.css">
<script src="../lib/3rdparty/highlight/highlight.pack.js"></script> <script src="./3rdparty/highlight/highlight.pack.js"></script>
<script src="../lib/3rdparty/all.js"></script> <script src="./3rdparty/all.js"></script>
<script src="all.js"></script> <script src="../dist/iwmlib.js"></script>
</head> </head>
<body onload="Doctest.run()"> <body onload="Doctest.run()">
<main> <main>

View File

@ -2,11 +2,11 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="../lib/3rdparty/highlight/styles/default.css"> <link rel="stylesheet" href="./3rdparty/highlight/styles/default.css">
<link rel="stylesheet" href="../css/doctest.css"> <link rel="stylesheet" href="../css/doctest.css">
<script src="../lib/3rdparty/highlight/highlight.pack.js"></script> <script src="./3rdparty/highlight/highlight.pack.js"></script>
<script src="../lib/3rdparty/all.js"></script> <script src="./3rdparty/all.js"></script>
<script src="all.js"></script> <script src="../dist/iwmlib.js"></script>
</head> </head>
<body onload="Doctest.run()" > <body onload="Doctest.run()" >
<h1> <h1>

View File

@ -50,7 +50,7 @@
} }
</style> </style>
<script type="text/javascript" src="../../../lib/3rdparty/all.js"></script> <script type="text/javascript" src="../.././3rdparty/all.js"></script>
<script type="text/javascript" src="../../../lib/pixi/all.js"></script> <script type="text/javascript" src="../../../lib/pixi/all.js"></script>
<script type="text/javascript" src="../../../lib/all.js"></script> <script type="text/javascript" src="../../../lib/all.js"></script>
</head> </head>

View File

@ -50,7 +50,7 @@
} }
</style> </style>
<script type="text/javascript" src="../../lib/3rdparty/all.js"></script> <script type="text/javascript" src=".././3rdparty/all.js"></script>
<script type="text/javascript" src="../../lib/pixi/all.js"></script> <script type="text/javascript" src="../../lib/pixi/all.js"></script>
<script type="text/javascript" src="../../lib/all.js"></script> <script type="text/javascript" src="../../lib/all.js"></script>
</head> </head>

View File

@ -3,10 +3,10 @@
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Flippable Doctest</title> <title>Flippable Doctest</title>
<link rel="stylesheet" href="../lib/3rdparty/highlight/styles/default.css"> <link rel="stylesheet" href="./3rdparty/highlight/styles/default.css">
<link rel="stylesheet" href="../css/doctest.css"> <link rel="stylesheet" href="../css/doctest.css">
<script src="../lib/3rdparty/highlight/highlight.pack.js"></script> <script src="./3rdparty/highlight/highlight.pack.js"></script>
<script src="../lib/3rdparty/all.js"></script> <script src="./3rdparty/all.js"></script>
<script src="./all.js"></script> <script src="./all.js"></script>
<link rel="stylesheet" href="../css/flipeffect.css"> <link rel="stylesheet" href="../css/flipeffect.css">

View File

@ -3,11 +3,11 @@
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no" /> <meta name="viewport" content="width=device-width, user-scalable=no" />
<link rel="stylesheet" href="../lib/3rdparty/highlight/styles/default.css"> <link rel="stylesheet" href="./3rdparty/highlight/styles/default.css">
<link rel="stylesheet" href="../css/doctest.css"> <link rel="stylesheet" href="../css/doctest.css">
<script src="../lib/3rdparty/highlight/highlight.pack.js"></script> <script src="./3rdparty/highlight/highlight.pack.js"></script>
<script src="../lib/3rdparty/all.js"></script> <script src="./3rdparty/all.js"></script>
<script src="all.js"></script> <script src="../dist/iwmlib.js"></script>
</head> </head>
<body onload="Doctest.run()" > <body onload="Doctest.run()" >
<h1> <h1>

View File

@ -2,13 +2,13 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="../lib/3rdparty/highlight/styles/default.css"> <link rel="stylesheet" href="./3rdparty/highlight/styles/default.css">
<link rel="stylesheet" href="../css/doctest.css"> <link rel="stylesheet" href="../css/doctest.css">
<script src="../lib/3rdparty/highlight/highlight.pack.js"></script> <script src="./3rdparty/highlight/highlight.pack.js"></script>
<script src="../lib/3rdparty/all.js"></script> <script src="./3rdparty/all.js"></script>
<script src="all.js"></script> <script src="../dist/iwmlib.js"></script>
</head> </head>
<body onload="Doctest.run()" > <body onload="Doctest.run()" >

View File

@ -1,10 +1,16 @@
<html> <!doctype html>
<html lang="en">
<head> <head>
<title>Lib Doctests</title> <title>Lib Doctests</title>
<meta charset="utf-8"/>
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" /> <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0" /> <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0" />
<link rel="stylesheet" href="../css/index.css"> <link rel="stylesheet" href="../css/index.css">
<script src="all.js"></script>
<!-- following not necc for index.js included in iwmlib.js -->
<!-- <script src="./index.js"></script> -->
<script src="../dist/iwmlib.js"></script>
<template id="itemTemplate"> <template id="itemTemplate">
<a class="wrapper" href=""> <a class="wrapper" href="">

View File

@ -2,10 +2,10 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="../lib/3rdparty/highlight/styles/default.css"> <link rel="stylesheet" href="./3rdparty/highlight/styles/default.css">
<link rel="stylesheet" href="../css/doctest.css"> <link rel="stylesheet" href="../css/doctest.css">
<script src="../lib/3rdparty/highlight/highlight.pack.js"></script> <script src="./3rdparty/highlight/highlight.pack.js"></script>
<script src="all.js"></script> <script src="../dist/iwmlib.js"></script>
</head> </head>
<body onload="Doctest.run(); test()" > <body onload="Doctest.run(); test()" >
<h1> <h1>

View File

@ -3,10 +3,10 @@
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Interaction Mapper Doctest</title> <title>Interaction Mapper Doctest</title>
<link rel="stylesheet" href="../lib/3rdparty/highlight/styles/default.css"> <link rel="stylesheet" href="./3rdparty/highlight/styles/default.css">
<link rel="stylesheet" href="../css/doctest.css"> <link rel="stylesheet" href="../css/doctest.css">
<script src="../lib/3rdparty/highlight/highlight.pack.js"></script> <script src="./3rdparty/highlight/highlight.pack.js"></script>
<script src="all.js"></script> <script src="../dist/iwmlib.js"></script>
<script src="./3rdparty/all.js"></script> <script src="./3rdparty/all.js"></script>
</head> </head>
<body onload="Doctest.run()" > <body onload="Doctest.run()" >

View File

@ -2,10 +2,10 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="../lib/3rdparty/highlight/styles/default.css"> <link rel="stylesheet" href="./3rdparty/highlight/styles/default.css">
<link rel="stylesheet" href="../css/doctest.css"> <link rel="stylesheet" href="../css/doctest.css">
<script src="../lib/3rdparty/highlight/highlight.pack.js"></script> <script src="./3rdparty/highlight/highlight.pack.js"></script>
<script src="all.js"></script> <script src="../dist/iwmlib.js"></script>
</head> </head>
<body onload="Doctest.run()" > <body onload="Doctest.run()" >
<h1> <h1>

View File

@ -5,14 +5,14 @@
<title>PIXI Application Resolution Doctest</title> <title>PIXI Application Resolution Doctest</title>
<link rel="stylesheet" href="../../lib/3rdparty/highlight/styles/default.css"> <link rel="stylesheet" href=".././3rdparty/highlight/styles/default.css">
<link rel="stylesheet" href="../../css/doctest.css"> <link rel="stylesheet" href="../../css/doctest.css">
<script src="../../lib/3rdparty/highlight/highlight.pack.js"></script> <script src=".././3rdparty/highlight/highlight.pack.js"></script>
<script src="../../lib/3rdparty/all.js"></script> <script src=".././3rdparty/all.js"></script>
<script src="../all.js"></script> <script src=".../../dist/iwmlib.pixi.js"></script>
<script src="./all.js"></script> <script src="../../dist/iwmlib.pixi.js"></script>
<style> <style>
#dpi { #dpi {

View File

@ -5,14 +5,14 @@
<title>PIXI Application Doctest</title> <title>PIXI Application Doctest</title>
<link rel="stylesheet" href="../../lib/3rdparty/highlight/styles/default.css"> <link rel="stylesheet" href=".././3rdparty/highlight/styles/default.css">
<link rel="stylesheet" href="../../css/doctest.css"> <link rel="stylesheet" href="../../css/doctest.css">
<script src="../../lib/3rdparty/highlight/highlight.pack.js"></script> <script src=".././3rdparty/highlight/highlight.pack.js"></script>
<script src="../../lib/3rdparty/all.js"></script> <script src="../../dist/iwmlib.3rdparty.js"></script>
<script src="../all.js"></script> <script src="../../dist/iwmlib.js"></script>
<script src="./all.js"></script> <script src="../../dist/iwmlib.pixi.js"></script>
</head> </head>
<body onload="Doctest.run()"> <body onload="Doctest.run()">
<h1>Application</h1> <h1>Application</h1>

View File

@ -5,7 +5,10 @@
<title>PIXI.Application Doctest</title> <title>PIXI.Application Doctest</title>
<script src="../3rdparty/pixi/pixi.js"></script> <script src="../../dist/iwmlib.3rdparty.js"></script>
<script src="../../dist/iwmlib.js"></script>
<script src="../../dist/iwmlib.pixi.js"></script>
</head> </head>
<body> <body>
<h1>PIXI.Application with nothing!</h1> <h1>PIXI.Application with nothing!</h1>

View File

@ -9,10 +9,10 @@
<link rel="stylesheet" href="../../css/doctest.css"> <link rel="stylesheet" href="../../css/doctest.css">
<script src="../3rdparty/highlight/highlight.pack.js"></script> <script src="../3rdparty/highlight/highlight.pack.js"></script>
<script src="../3rdparty/all.js"></script> <script src="../../dist/iwmlib.3rdparty.js"></script>
<script src="../all.js"></script> <script src="../../dist/iwmlib.js"></script>
<script src="./all.js"></script> <script src="../../dist/iwmlib.pixi.js"></script>
</head> </head>
<body onload="Doctest.run()"> <body onload="Doctest.run()">
<h1>Badge</h1> <h1>Badge</h1>

View File

@ -5,14 +5,14 @@
<title>PIXI BlurFilter</title> <title>PIXI BlurFilter</title>
<link rel="stylesheet" href="../../lib/3rdparty/highlight/styles/default.css"> <link rel="stylesheet" href=".././3rdparty/highlight/styles/default.css">
<link rel="stylesheet" href="../../css/doctest.css"> <link rel="stylesheet" href="../../css/doctest.css">
<script src="../../lib/3rdparty/highlight/highlight.pack.js"></script> <script src=".././3rdparty/highlight/highlight.pack.js"></script>
<script src="../../lib/3rdparty/all.js"></script> <script src="../../dist/iwmlib.3rdparty.js"></script>
<script src="../all.js"></script> <script src="../../dist/iwmlib.js"></script>
<script src="./all.js"></script> <script src="../../dist/iwmlib.pixi.js"></script>
</head> </head>
<body onload="Doctest.run()"> <body onload="Doctest.run()">
<h1>BlurFilter</h1> <h1>BlurFilter</h1>

View File

@ -9,10 +9,10 @@
<link rel="stylesheet" href="../../css/doctest.css"> <link rel="stylesheet" href="../../css/doctest.css">
<script src="../3rdparty/highlight/highlight.pack.js"></script> <script src="../3rdparty/highlight/highlight.pack.js"></script>
<script src="../3rdparty/all.js"></script> <script src="../../dist/iwmlib.3rdparty.js"></script>
<script src="../all.js"></script> <script src="../../dist/iwmlib.js"></script>
<script src="./all.js"></script> <script src="../../dist/iwmlib.pixi.js"></script>
</head> </head>
<body onload="Doctest.run()"> <body onload="Doctest.run()">
<h1>Button</h1> <h1>Button</h1>

View File

@ -9,10 +9,10 @@
<link rel="stylesheet" href="../../css/doctest.css"> <link rel="stylesheet" href="../../css/doctest.css">
<script src="../3rdparty/highlight/highlight.pack.js"></script> <script src="../3rdparty/highlight/highlight.pack.js"></script>
<script src="../3rdparty/all.js"></script> <script src="../../dist/iwmlib.3rdparty.js"></script>
<script src="../all.js"></script> <script src="../../dist/iwmlib.js"></script>
<script src="./all.js"></script> <script src="../../dist/iwmlib.pixi.js"></script>
</head> </head>
<body onload="Doctest.run()"> <body onload="Doctest.run()">
<h1>ButtonGroup</h1> <h1>ButtonGroup</h1>

View File

@ -4,13 +4,13 @@
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>PIXI Coordinates Doctest</title> <title>PIXI Coordinates Doctest</title>
<link rel="stylesheet" href="../../lib/3rdparty/highlight/styles/default.css"> <link rel="stylesheet" href=".././3rdparty/highlight/styles/default.css">
<link rel="stylesheet" href="../../css/doctest.css"> <link rel="stylesheet" href="../../css/doctest.css">
<script src="../../lib/3rdparty/highlight/highlight.pack.js"></script> <script src=".././3rdparty/highlight/highlight.pack.js"></script>
<script src="../../lib/3rdparty/all.js"></script> <script src="../../dist/iwmlib.3rdparty.js"></script>
<script src="../all.js"></script> <script src="../../dist/iwmlib.js"></script>
<script src="./all.js"></script> <script src="../../dist/iwmlib.pixi.js"></script>
</head> </head>
<body onload="Doctest.run()"> <body onload="Doctest.run()">

View File

@ -10,7 +10,7 @@
<link rel="stylesheet" href="../../../css/doctest.css"> <link rel="stylesheet" href="../../../css/doctest.css">
<script src="../../3rdparty/highlight/highlight.pack.js"></script> <script src="../../3rdparty/highlight/highlight.pack.js"></script>
<script src="../../3rdparty/all.js"></script> <script src="../../../dist/iwmlib.3rdparty.js"></script>
<script src="../../../node_modules/jquery/dist/jquery.min.js"></script> <script src="../../../node_modules/jquery/dist/jquery.min.js"></script>
<script src="../../all.js"></script> <script src="../../all.js"></script>

View File

@ -10,7 +10,7 @@
<link rel="stylesheet" href="../../../css/doctest.css"> <link rel="stylesheet" href="../../../css/doctest.css">
<script src="../../3rdparty/highlight/highlight.pack.js"></script> <script src="../../3rdparty/highlight/highlight.pack.js"></script>
<script src="../../3rdparty/all.js"></script> <script src="../../../dist/iwmlib.3rdparty.js"></script>
<script src="../../../node_modules/jquery/dist/jquery.min.js"></script> <script src="../../../node_modules/jquery/dist/jquery.min.js"></script>
<script src="../../all.js"></script> <script src="../../all.js"></script>

View File

@ -7,7 +7,7 @@
<!-- disable zooming --> <!-- disable zooming -->
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, minimum-scale=1, maximum-scale=1"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, minimum-scale=1, maximum-scale=1">
<script src="../../../lib/3rdparty/all.js"></script> <script src="../.././3rdparty/all.js"></script>
<script src="../../../lib/all.js"></script> <script src="../../../lib/all.js"></script>
<link rel="stylesheet" href="../test/lib/bulma.css"> <link rel="stylesheet" href="../test/lib/bulma.css">

View File

@ -3,13 +3,13 @@
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>PIXI Flip Effect Doctest</title> <title>PIXI Flip Effect Doctest</title>
<link rel="stylesheet" href="../../lib/3rdparty/highlight/styles/default.css"> <link rel="stylesheet" href=".././3rdparty/highlight/styles/default.css">
<link rel="stylesheet" href="../../css/doctest.css"> <link rel="stylesheet" href="../../css/doctest.css">
<script src="../../lib/3rdparty/highlight/highlight.pack.js"></script> <script src=".././3rdparty/highlight/highlight.pack.js"></script>
<script src="../../lib/3rdparty/all.js"></script> <script src="../../dist/iwmlib.3rdparty.js"></script>
<script src="../all.js"></script> <script src="../../dist/iwmlib.js"></script>
<script src="./all.js"></script> <script src="../../dist/iwmlib.pixi.js"></script>
<link rel="stylesheet" href="../../css/flipeffect.css"> <link rel="stylesheet" href="../../css/flipeffect.css">
<template id="flipTemplate"> <template id="flipTemplate">

View File

@ -9,10 +9,10 @@
<link rel="stylesheet" href="../../css/doctest.css"> <link rel="stylesheet" href="../../css/doctest.css">
<script src="../3rdparty/highlight/highlight.pack.js"></script> <script src="../3rdparty/highlight/highlight.pack.js"></script>
<script src="../3rdparty/all.js"></script> <script src="../../dist/iwmlib.3rdparty.js"></script>
<script src="../all.js"></script> <script src="../../dist/iwmlib.js"></script>
<script src="./all.js"></script> <script src="../../dist/iwmlib.pixi.js"></script>
</head> </head>
<body onload="Doctest.run()"> <body onload="Doctest.run()">
<h1>Flippable</h1> <h1>Flippable</h1>

View File

@ -7,9 +7,9 @@
<link rel="stylesheet" href="../3rdparty/highlight/styles/default.css"> <link rel="stylesheet" href="../3rdparty/highlight/styles/default.css">
<link rel="stylesheet" href="../../css/doctest.css"> <link rel="stylesheet" href="../../css/doctest.css">
<script src="../3rdparty/highlight/highlight.pack.js"></script> <script src="../3rdparty/highlight/highlight.pack.js"></script>
<script src="../3rdparty/all.js"></script> <script src="../../dist/iwmlib.3rdparty.js"></script>
<script src="../all.js"></script> <script src="../../dist/iwmlib.js"></script>
<script src="./all.js"></script> <script src="../../dist/iwmlib.pixi.js"></script>
</head> </head>
<body onload="Doctest.run();" > <body onload="Doctest.run();" >
<h1> <h1>

View File

@ -9,10 +9,10 @@
<link rel="stylesheet" href="../../css/doctest.css"> <link rel="stylesheet" href="../../css/doctest.css">
<script src="../3rdparty/highlight/highlight.pack.js"></script> <script src="../3rdparty/highlight/highlight.pack.js"></script>
<script src="../3rdparty/all.js"></script> <script src="../../dist/iwmlib.3rdparty.js"></script>
<script src="../all.js"></script> <script src="../../dist/iwmlib.js"></script>
<script src="./all.js"></script> <script src="../../dist/iwmlib.pixi.js"></script>
<script src="./lib/graphology.min.js"></script> <script src="./lib/graphology.min.js"></script>
<script src="./lib/graphology-layout-forceatlas2.js"></script> <script src="./lib/graphology-layout-forceatlas2.js"></script>

View File

@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0" /> <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0" />
<link rel="stylesheet" href="../../css/index.css"> <link rel="stylesheet" href="../../css/index.css">
<script src="../all.js"></script> <script src="../../dist/iwmlib.js"></script>
<template id="itemTemplate"> <template id="itemTemplate">
<a class="wrapper" href=""> <a class="wrapper" href="">

View File

@ -9,10 +9,10 @@
<link rel="stylesheet" href="../../css/doctest.css"> <link rel="stylesheet" href="../../css/doctest.css">
<script src="../3rdparty/highlight/highlight.pack.js"></script> <script src="../3rdparty/highlight/highlight.pack.js"></script>
<script src="../3rdparty/all.js"></script> <script src="../../dist/iwmlib.3rdparty.js"></script>
<script src="../all.js"></script> <script src="../../dist/iwmlib.js"></script>
<script src="./all.js"></script> <script src="../../dist/iwmlib.pixi.js"></script>
</head> </head>
<body onload="Doctest.run()"> <body onload="Doctest.run()">
<h1>LabeledGraphics</h1> <h1>LabeledGraphics</h1>

View File

@ -9,10 +9,10 @@
<link rel="stylesheet" href="../../css/doctest.css"> <link rel="stylesheet" href="../../css/doctest.css">
<script src="../3rdparty/highlight/highlight.pack.js"></script> <script src="../3rdparty/highlight/highlight.pack.js"></script>
<script src="../3rdparty/all.js"></script> <script src="../../dist/iwmlib.3rdparty.js"></script>
<script src="../all.js"></script> <script src="../../dist/iwmlib.js"></script>
<script src="./all.js"></script> <script src="../../dist/iwmlib.pixi.js"></script>
</head> </head>
<body onload="Doctest.run()"> <body onload="Doctest.run()">
<h1>Message</h1> <h1>Message</h1>

View File

@ -9,10 +9,10 @@
<link rel="stylesheet" href="../../css/doctest.css"> <link rel="stylesheet" href="../../css/doctest.css">
<script src="../3rdparty/highlight/highlight.pack.js"></script> <script src="../3rdparty/highlight/highlight.pack.js"></script>
<script src="../3rdparty/all.js"></script> <script src="../../dist/iwmlib.3rdparty.js"></script>
<script src="../all.js"></script> <script src="../../dist/iwmlib.js"></script>
<script src="./all.js"></script> <script src="../../dist/iwmlib.pixi.js"></script>
</head> </head>
<body onload="Doctest.run()"> <body onload="Doctest.run()">
<h1>Modal</h1> <h1>Modal</h1>

View File

@ -2,13 +2,13 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="../../lib/3rdparty/highlight/styles/default.css"> <link rel="stylesheet" href=".././3rdparty/highlight/styles/default.css">
<link rel="stylesheet" href="../../css/doctest.css"> <link rel="stylesheet" href="../../css/doctest.css">
<script src="../../lib/3rdparty/highlight/highlight.pack.js"></script> <script src=".././3rdparty/highlight/highlight.pack.js"></script>
<script src="../../lib/3rdparty/all.js"></script> <script src="../../dist/iwmlib.3rdparty.js"></script>
<script src="../all.js"></script> <script src="../../dist/iwmlib.js"></script>
<script src="./all.js"></script> <script src="../../dist/iwmlib.pixi.js"></script>
</head> </head>
<body onload="Doctest.run()" > <body onload="Doctest.run()" >
<h1>Popover</h1> <h1>Popover</h1>

View File

@ -9,10 +9,10 @@
<link rel="stylesheet" href="../../css/doctest.css"> <link rel="stylesheet" href="../../css/doctest.css">
<script src="../3rdparty/highlight/highlight.pack.js"></script> <script src="../3rdparty/highlight/highlight.pack.js"></script>
<script src="../3rdparty/all.js"></script> <script src="../../dist/iwmlib.3rdparty.js"></script>
<script src="../all.js"></script> <script src="../../dist/iwmlib.js"></script>
<script src="./all.js"></script> <script src="../../dist/iwmlib.pixi.js"></script>
</head> </head>
<body onload="Doctest.run()"> <body onload="Doctest.run()">
<h1>Popup</h1> <h1>Popup</h1>

View File

@ -5,14 +5,14 @@
<title>PIXI PopupMenu</title> <title>PIXI PopupMenu</title>
<link rel="stylesheet" href="../../lib/3rdparty/highlight/styles/default.css"> <link rel="stylesheet" href=".././3rdparty/highlight/styles/default.css">
<link rel="stylesheet" href="../../css/doctest.css"> <link rel="stylesheet" href="../../css/doctest.css">
<script src="../3rdparty/highlight/highlight.pack.js"></script> <script src="../3rdparty/highlight/highlight.pack.js"></script>
<script src="../3rdparty/all.js"></script> <script src="../../dist/iwmlib.3rdparty.js"></script>
<script src="../all.js"></script> <script src="../../dist/iwmlib.js"></script>
<script src="./all.js"></script> <script src="../../dist/iwmlib.pixi.js"></script>
</head> </head>
<body onload="Doctest.run()"> <body onload="Doctest.run()">
<h1>PopupMenu</h1> <h1>PopupMenu</h1>

View File

@ -9,10 +9,10 @@
<link rel="stylesheet" href="../../css/doctest.css"> <link rel="stylesheet" href="../../css/doctest.css">
<script src="../3rdparty/highlight/highlight.pack.js"></script> <script src="../3rdparty/highlight/highlight.pack.js"></script>
<script src="../3rdparty/all.js"></script> <script src="../../dist/iwmlib.3rdparty.js"></script>
<script src="../all.js"></script> <script src="../../dist/iwmlib.js"></script>
<script src="./all.js"></script> <script src="../../dist/iwmlib.pixi.js"></script>
</head> </head>
<body onload="Doctest.run()"> <body onload="Doctest.run()">
<h1>Progress</h1> <h1>Progress</h1>

View File

@ -4,13 +4,13 @@
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>PIXI Scatter Doctest</title> <title>PIXI Scatter Doctest</title>
<link rel="stylesheet" href="../../lib/3rdparty/highlight/styles/default.css"> <link rel="stylesheet" href=".././3rdparty/highlight/styles/default.css">
<link rel="stylesheet" href="../../css/doctest.css"> <link rel="stylesheet" href="../../css/doctest.css">
<script src="../../lib/3rdparty/highlight/highlight.pack.js"></script> <script src=".././3rdparty/highlight/highlight.pack.js"></script>
<script src="../../lib/3rdparty/all.js"></script> <script src="../../dist/iwmlib.3rdparty.js"></script>
<script src="../all.js"></script> <script src="../../dist/iwmlib.js"></script>
<script src="./all.js"></script> <script src="../../dist/iwmlib.pixi.js"></script>
</head> </head>
<body onload="Doctest.run()"> <body onload="Doctest.run()">

View File

@ -9,10 +9,10 @@
<link rel="stylesheet" href="../../css/doctest.css"> <link rel="stylesheet" href="../../css/doctest.css">
<script src="../3rdparty/highlight/highlight.pack.js"></script> <script src="../3rdparty/highlight/highlight.pack.js"></script>
<script src="../3rdparty/all.js"></script> <script src="../../dist/iwmlib.3rdparty.js"></script>
<script src="../all.js"></script> <script src="../../dist/iwmlib.js"></script>
<script src="./all.js"></script> <script src="../../dist/iwmlib.pixi.js"></script>
</head> </head>
<body onload="Doctest.run()"> <body onload="Doctest.run()">
<h1>Slider</h1> <h1>Slider</h1>

View File

@ -9,10 +9,10 @@
<link rel="stylesheet" href="../../css/doctest.css"> <link rel="stylesheet" href="../../css/doctest.css">
<script src="../3rdparty/highlight/highlight.pack.js"></script> <script src="../3rdparty/highlight/highlight.pack.js"></script>
<script src="../3rdparty/all.js"></script> <script src="../../dist/iwmlib.3rdparty.js"></script>
<script src="../all.js"></script> <script src="../../dist/iwmlib.js"></script>
<script src="./all.js"></script> <script src="../../dist/iwmlib.pixi.js"></script>
</head> </head>
<body onload="Doctest.run()"> <body onload="Doctest.run()">
<h1>Text</h1> <h1>Text</h1>

View File

@ -9,10 +9,10 @@
<link rel="stylesheet" href="../../css/doctest.css"> <link rel="stylesheet" href="../../css/doctest.css">
<script src="../3rdparty/highlight/highlight.pack.js"></script> <script src="../3rdparty/highlight/highlight.pack.js"></script>
<script src="../3rdparty/all.js"></script> <script src="../../dist/iwmlib.3rdparty.js"></script>
<script src="../all.js"></script> <script src="../../dist/iwmlib.js"></script>
<script src="./all.js"></script> <script src="../../dist/iwmlib.pixi.js"></script>
</head> </head>
<body onload="Doctest.run()"> <body onload="Doctest.run()">
<h1>Theme</h1> <h1>Theme</h1>

View File

@ -9,10 +9,10 @@
<link rel="stylesheet" href="../../css/doctest.css"> <link rel="stylesheet" href="../../css/doctest.css">
<script src="../3rdparty/highlight/highlight.pack.js"></script> <script src="../3rdparty/highlight/highlight.pack.js"></script>
<script src="../3rdparty/all.js"></script> <script src="../../dist/iwmlib.3rdparty.js"></script>
<script src="../all.js"></script> <script src="../../dist/iwmlib.js"></script>
<script src="./all.js"></script> <script src="../../dist/iwmlib.pixi.js"></script>
</head> </head>
<body onload="Doctest.run()"> <body onload="Doctest.run()">
<h1>Tooltip</h1> <h1>Tooltip</h1>

View File

@ -9,10 +9,10 @@
<link rel="stylesheet" href="../../css/doctest.css"> <link rel="stylesheet" href="../../css/doctest.css">
<script src="../3rdparty/highlight/highlight.pack.js"></script> <script src="../3rdparty/highlight/highlight.pack.js"></script>
<script src="../3rdparty/all.js"></script> <script src="../../dist/iwmlib.3rdparty.js"></script>
<script src="../all.js"></script> <script src="../../dist/iwmlib.js"></script>
<script src="./all.js"></script> <script src="../../dist/iwmlib.pixi.js"></script>
</head> </head>
<body onload="Doctest.run()"> <body onload="Doctest.run()">
<h1>Volatile</h1> <h1>Volatile</h1>

View File

@ -4,11 +4,11 @@
<head> <head>
<title>Poppable Doctest</title> <title>Poppable Doctest</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="../lib/3rdparty/highlight/styles/default.css"> <link rel="stylesheet" href="./3rdparty/highlight/styles/default.css">
<link rel="stylesheet" href="../css/doctest.css"> <link rel="stylesheet" href="../css/doctest.css">
<script src="../lib/3rdparty/highlight/highlight.pack.js"></script> <script src="./3rdparty/highlight/highlight.pack.js"></script>
<script src="../lib/3rdparty/all.js"></script> <script src="./3rdparty/all.js"></script>
<script src="all.js"></script> <script src="../dist/iwmlib.js"></script>
</head> </head>
<body id="page" onload="Doctest.run()"> <body id="page" onload="Doctest.run()">

View File

@ -4,11 +4,11 @@
<head> <head>
<title>Popup Doctest</title> <title>Popup Doctest</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="../lib/3rdparty/highlight/styles/default.css"> <link rel="stylesheet" href="./3rdparty/highlight/styles/default.css">
<link rel="stylesheet" href="../css/doctest.css"> <link rel="stylesheet" href="../css/doctest.css">
<script src="../lib/3rdparty/highlight/highlight.pack.js"></script> <script src="./3rdparty/highlight/highlight.pack.js"></script>
<script src="../lib/3rdparty/all.js"></script> <script src="./3rdparty/all.js"></script>
<script src="all.js"></script> <script src="../dist/iwmlib.js"></script>
</head> </head>
<body id="page" onload="Doctest.run()"> <body id="page" onload="Doctest.run()">

View File

@ -3,11 +3,11 @@
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="../lib/3rdparty/highlight/styles/default.css"> <link rel="stylesheet" href="./3rdparty/highlight/styles/default.css">
<link rel="stylesheet" href="../css/doctest.css"> <link rel="stylesheet" href="../css/doctest.css">
<script src="../lib/3rdparty/highlight/highlight.pack.js"></script> <script src="./3rdparty/highlight/highlight.pack.js"></script>
<script src="../lib/3rdparty/all.js"></script> <script src="./3rdparty/all.js"></script>
<script src="all.js"></script> <script src="../dist/iwmlib.js"></script>
</head> </head>
<body onload="Doctest.run()"> <body onload="Doctest.run()">

View File

@ -3,11 +3,11 @@
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Scatter Doctest</title> <title>Scatter Doctest</title>
<link rel="stylesheet" href="../lib/3rdparty/highlight/styles/default.css"> <link rel="stylesheet" href="./3rdparty/highlight/styles/default.css">
<link rel="stylesheet" href="../css/doctest.css"> <link rel="stylesheet" href="../css/doctest.css">
<script src="./3rdparty/highlight/highlight.pack.js"></script> <script src="./3rdparty/highlight/highlight.pack.js"></script>
<script src="./3rdparty/all.js"></script> <script src="./3rdparty/all.js"></script>
<script src="all.js"></script> <script src="../dist/iwmlib.js"></script>
<script> <script>
function drawPolygons() { function drawPolygons() {
debugCanvas.width = main.getBoundingClientRect().width debugCanvas.width = main.getBoundingClientRect().width

View File

@ -3,11 +3,11 @@
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Styleguide</title> <title>Styleguide</title>
<link rel="stylesheet" href="../lib/3rdparty/highlight/styles/default.css"> <link rel="stylesheet" href="./3rdparty/highlight/styles/default.css">
<link rel="stylesheet" href="../css/doctest.css"> <link rel="stylesheet" href="../css/doctest.css">
<script src="./3rdparty/highlight/highlight.pack.js"></script> <script src="./3rdparty/highlight/highlight.pack.js"></script>
<script src="./3rdparty/all.js"></script> <script src="./3rdparty/all.js"></script>
<script src="all.js"></script> <script src="../dist/iwmlib.js"></script>
</head> </head>
<body onload="Doctest.run()" > <body onload="Doctest.run()" >
<h1> <h1>

View File

@ -57,7 +57,7 @@
} }
</style> </style>
<script src="../../lib/3rdparty/all.js"></script> <script src=".././3rdparty/all.js"></script>
<script src="../../lib/bootstrap.js"></script> <script src="../../lib/bootstrap.js"></script>
</head> </head>
<body class="site" oncontextmenu="return false" > <body class="site" oncontextmenu="return false" >

View File

@ -4,11 +4,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no" /> <meta name="viewport" content="width=device-width, user-scalable=no" />
<title>Doctests Functional Tests</title> <title>Doctests Functional Tests</title>
<link rel="stylesheet" href="../lib/3rdparty/highlight/styles/default.css"> <link rel="stylesheet" href="./3rdparty/highlight/styles/default.css">
<link rel="stylesheet" href="../css/doctest.css"> <link rel="stylesheet" href="../css/doctest.css">
<script src="../lib/3rdparty/highlight/highlight.pack.js"></script> <script src="./3rdparty/highlight/highlight.pack.js"></script>
<script src="../lib/3rdparty/all.js"></script> <script src="./3rdparty/all.js"></script>
<script src="all.js"></script> <script src="../dist/iwmlib.js"></script>
<script src="pixi/all.js"></script> <script src="pixi/all.js"></script>
</head> </head>
<body onload="Doctest.run(); loaded()" > <body onload="Doctest.run(); loaded()" >

View File

@ -3,7 +3,7 @@
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>UITest Doctest</title> <title>UITest Doctest</title>
<link rel="stylesheet" href="../lib/3rdparty/highlight/styles/default.css"> <link rel="stylesheet" href="./3rdparty/highlight/styles/default.css">
<link rel="stylesheet" href="../css/doctest.css"> <link rel="stylesheet" href="../css/doctest.css">
<script src="./3rdparty/highlight/highlight.pack.js"></script> <script src="./3rdparty/highlight/highlight.pack.js"></script>
<script src="./3rdparty/all.js"></script> <script src="./3rdparty/all.js"></script>

View File

@ -3,10 +3,10 @@
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Doctests</title> <title>Doctests</title>
<link rel="stylesheet" href="../lib/3rdparty/highlight/styles/default.css"> <link rel="stylesheet" href="./3rdparty/highlight/styles/default.css">
<link rel="stylesheet" href="../css/doctest.css"> <link rel="stylesheet" href="../css/doctest.css">
<script src="../lib/3rdparty/highlight/highlight.pack.js"></script> <script src="./3rdparty/highlight/highlight.pack.js"></script>
<script src="all.js"></script> <script src="../dist/iwmlib.js"></script>
</head> </head>
<body onload="Doctest.run()"> <body onload="Doctest.run()">
<main> <main>

41
package-lock.json generated
View File

@ -1424,8 +1424,7 @@
"ansi-regex": { "ansi-regex": {
"version": "2.1.1", "version": "2.1.1",
"bundled": true, "bundled": true,
"dev": true, "dev": true
"optional": true
}, },
"aproba": { "aproba": {
"version": "1.2.0", "version": "1.2.0",
@ -1446,14 +1445,12 @@
"balanced-match": { "balanced-match": {
"version": "1.0.0", "version": "1.0.0",
"bundled": true, "bundled": true,
"dev": true, "dev": true
"optional": true
}, },
"brace-expansion": { "brace-expansion": {
"version": "1.1.11", "version": "1.1.11",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"balanced-match": "^1.0.0", "balanced-match": "^1.0.0",
"concat-map": "0.0.1" "concat-map": "0.0.1"
@ -1468,20 +1465,17 @@
"code-point-at": { "code-point-at": {
"version": "1.1.0", "version": "1.1.0",
"bundled": true, "bundled": true,
"dev": true, "dev": true
"optional": true
}, },
"concat-map": { "concat-map": {
"version": "0.0.1", "version": "0.0.1",
"bundled": true, "bundled": true,
"dev": true, "dev": true
"optional": true
}, },
"console-control-strings": { "console-control-strings": {
"version": "1.1.0", "version": "1.1.0",
"bundled": true, "bundled": true,
"dev": true, "dev": true
"optional": true
}, },
"core-util-is": { "core-util-is": {
"version": "1.0.2", "version": "1.0.2",
@ -1598,8 +1592,7 @@
"inherits": { "inherits": {
"version": "2.0.3", "version": "2.0.3",
"bundled": true, "bundled": true,
"dev": true, "dev": true
"optional": true
}, },
"ini": { "ini": {
"version": "1.3.5", "version": "1.3.5",
@ -1611,7 +1604,6 @@
"version": "1.0.0", "version": "1.0.0",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"number-is-nan": "^1.0.0" "number-is-nan": "^1.0.0"
} }
@ -1626,7 +1618,6 @@
"version": "3.0.4", "version": "3.0.4",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"brace-expansion": "^1.1.7" "brace-expansion": "^1.1.7"
} }
@ -1634,14 +1625,12 @@
"minimist": { "minimist": {
"version": "0.0.8", "version": "0.0.8",
"bundled": true, "bundled": true,
"dev": true, "dev": true
"optional": true
}, },
"minipass": { "minipass": {
"version": "2.3.5", "version": "2.3.5",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"safe-buffer": "^5.1.2", "safe-buffer": "^5.1.2",
"yallist": "^3.0.0" "yallist": "^3.0.0"
@ -1660,7 +1649,6 @@
"version": "0.5.1", "version": "0.5.1",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"minimist": "0.0.8" "minimist": "0.0.8"
} }
@ -1741,8 +1729,7 @@
"number-is-nan": { "number-is-nan": {
"version": "1.0.1", "version": "1.0.1",
"bundled": true, "bundled": true,
"dev": true, "dev": true
"optional": true
}, },
"object-assign": { "object-assign": {
"version": "4.1.1", "version": "4.1.1",
@ -1754,7 +1741,6 @@
"version": "1.4.0", "version": "1.4.0",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"wrappy": "1" "wrappy": "1"
} }
@ -1840,8 +1826,7 @@
"safe-buffer": { "safe-buffer": {
"version": "5.1.2", "version": "5.1.2",
"bundled": true, "bundled": true,
"dev": true, "dev": true
"optional": true
}, },
"safer-buffer": { "safer-buffer": {
"version": "2.1.2", "version": "2.1.2",
@ -1877,7 +1862,6 @@
"version": "1.0.2", "version": "1.0.2",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"code-point-at": "^1.0.0", "code-point-at": "^1.0.0",
"is-fullwidth-code-point": "^1.0.0", "is-fullwidth-code-point": "^1.0.0",
@ -1897,7 +1881,6 @@
"version": "3.0.1", "version": "3.0.1",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"ansi-regex": "^2.0.0" "ansi-regex": "^2.0.0"
} }
@ -1941,14 +1924,12 @@
"wrappy": { "wrappy": {
"version": "1.0.2", "version": "1.0.2",
"bundled": true, "bundled": true,
"dev": true, "dev": true
"optional": true
}, },
"yallist": { "yallist": {
"version": "3.0.3", "version": "3.0.3",
"bundled": true, "bundled": true,
"dev": true, "dev": true
"optional": true
} }
} }
}, },