2015-01-05 15:55:25 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<!--
|
2018-01-07 19:08:19 +01:00
|
|
|
Copyright 2018 The Ebiten Authors
|
2015-01-05 15:55:25 +01:00
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
-->
|
2018-01-07 19:08:19 +01:00
|
|
|
<title></title>
|
|
|
|
<p><a href="..">Index</a></p>
|
|
|
|
<h1></h1>
|
|
|
|
<iframe id="example" width="640" height="480"></iframe>
|
2016-10-31 04:10:59 +01:00
|
|
|
<script>
|
2018-01-07 19:08:19 +01:00
|
|
|
window.addEventListener('load', () => {
|
|
|
|
let name = location.search.substring(1);
|
|
|
|
document.getElementById('example').src = `example.html?${name}`;
|
|
|
|
document.getElementsByTagName('title')[0].textContent = `Ebiten Example - ${name}`;
|
|
|
|
document.getElementsByTagName('h1')[0].textContent = `Ebiten Example - ${name}`;
|
|
|
|
});
|
2016-10-31 04:10:59 +01:00
|
|
|
</script>
|