examples: Remove HTMLs

This commit is contained in:
Hajime Hoshi 2018-03-17 01:42:48 +09:00
parent 93b2fab95b
commit 530041b4f2
2 changed files with 0 additions and 50 deletions

View File

@ -1,22 +0,0 @@
<!DOCTYPE html>
<!--
Copyright 2015 Hajime Hoshi
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.
-->
<script>
var msg = 'If an inconsistent behavior is found, please try to clear $GOPATH/pkg/*_js directory.' +
' See also https://github.com/gopherjs/gopherjs/issues/440.';
console.warn(msg);
</script>
<script src="main.js"></script>

View File

@ -1,28 +0,0 @@
<!DOCTYPE html>
<!--
Copyright 2018 The Ebiten Authors
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.
-->
<title></title>
<p><a href="..">Index</a></p>
<h1></h1>
<iframe id="example" width="640" height="480"></iframe>
<script>
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}`;
});
</script>