-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a test file for testing out glquery functionality (However, als…
…o see notes on unit testing in issue #1)
- Loading branch information
1 parent
837920c
commit 26d347c
Showing
1 changed file
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<meta charset='utf-8'> | ||
<meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'> | ||
<title>glQuery - Tests</title> | ||
<meta name='description' content='Tests for glQuery'> | ||
<link rel="shortcut icon" href="/favicon.ico"> | ||
|
||
<!-- Stylesheet --> | ||
<style type='text/css' media='screen'> | ||
</style> | ||
</head> | ||
<body> | ||
|
||
<!-- Screen layout --> | ||
|
||
<div id='glqueryLog'></div> | ||
|
||
<div id='main-layout'> | ||
<div id='viewport'> | ||
<!-- --> | ||
<canvas id='glqueryCanvas' width='512' height='512'> | ||
<p>This application requires a browser that supports the<a href='http://www.w3.org/html/wg/html5/'>HTML5</a><canvas> feature.</p> | ||
</canvas> | ||
<!-- --> | ||
</div> | ||
</div> | ||
|
||
<!-- Prompt IE users to install Chrome Frame. chromium.org/developers/how-tos/chrome-frame-getting-started --> | ||
<!--[if IE]> | ||
<script src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.3/CFInstall.min.js"></script> | ||
<script>window.attachEvent('onload',function(){CFInstall.check({mode:'overlay'})})</script> | ||
<![endif]--> | ||
|
||
<!-- Framework --> | ||
|
||
<script src='../dist/glquery.js'></script> | ||
|
||
<!-- Resources --> | ||
|
||
|
||
<!-- Application logic --> | ||
|
||
<script> | ||
glQuery.canvas('glqueryCanvas'); | ||
</script> | ||
</body> | ||
</html> |