Skip to content
This repository was archived by the owner on Sep 23, 2022. It is now read-only.

Commit 1a402d8

Browse files
author
Stéphane HULARD
committed
Add a webpage to test libraries
Signed-off-by: Stéphane HULARD <[email protected]>
1 parent 8841f5a commit 1a402d8

File tree

5 files changed

+456
-0
lines changed

5 files changed

+456
-0
lines changed

test/favicon.ico

1.12 KB
Binary file not shown.

test/index.php

+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
<!DOCTYPE html>
2+
<!--[if IE 6]>
3+
<html class="ie6" lang="fr-FR">
4+
<![endif]-->
5+
<!--[if IE 7]>
6+
<html class="ie7" lang="fr-FR">
7+
<![endif]-->
8+
<!--[if IE 8]>
9+
<html class="ie8" lang="fr-FR">
10+
<![endif]-->
11+
<!--[if IE 9]>
12+
<html class="ie9" lang="fr-FR">
13+
<![endif]-->
14+
<!--[if IE 10]>
15+
<html class="ie10" lang="fr-FR">
16+
<![endif]-->
17+
<!--[if !(IE 6) | !(IE 7) | !(IE 8) | !(IE 9) | !(IE 10) ]><!-->
18+
<html lang="fr-FR">
19+
<!--<![endif]-->
20+
<head>
21+
<meta charset="utf-8">
22+
23+
<title>CH.js testing page</title>
24+
25+
<meta name="description" content="">
26+
<meta name="Author" content="Stéphane HULARD <[email protected]>" />
27+
28+
<!-- Define a viewport to mobile devices to use - telling the browser to assume that the page is as wide as the device (width=device-width) and setting the initial page zoom level to be 1 (initial-scale=1.0) -->
29+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
30+
31+
<!-- Add normalize.css which enables browsers to render all elements more consistently and in line with modern standards as it only targets particular styles that need normalizing -->
32+
<link href="stylesheets/normalize.css" rel="stylesheet" media="all">
33+
34+
<!-- Include the site stylesheet -->
35+
<link href="stylesheets/theme.css" rel="stylesheet" media="all">
36+
37+
<!-- Include the HTML5 shiv print polyfill for Internet Explorer browsers 8 and below -->
38+
<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js" media="all"></script><![endif]-->
39+
40+
<link rel="shortcut icon" type="image/x-icon" href="/test/favicon.ico" />
41+
</head>
42+
<body>
43+
<div id="playground"></div>
44+
<!-- Defer script loading -->
45+
<script type="text/javascript" src="/src/base.js"></script>
46+
<?php if( isset( $_GET['test'] ) ): ?>
47+
<script type="text/javascript" src="/test/javascripts/<?php echo $_GET['test']; ?>.js"></script>
48+
<?php else: ?>
49+
<script type="text/javascript" src="/test/javascripts/main.js"></script>
50+
<?php endif; ?>
51+
</body>
52+
</html>

test/javascripts/main.js

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// Global JavaScript file
2+
3+
/**
4+
* @author Stephane HULARD <[email protected]>
5+
* @copyright CH Studio <www.chstudio.fr> 2012
6+
* @package CH
7+
*/

0 commit comments

Comments
 (0)