-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtest.html
38 lines (37 loc) · 921 Bytes
/
test.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!DOCTYPE html>
<html>
<head>
<title>Optimizing resources with Local Storage</title>
<script src="loader.js"></script>
<link href="styles.css">
</head>
<body>
<div class="container">
<div class="ten columns offset-by-three">
<h1>Test Form</h1>
<form class="CatForm" action="#">
<label for="test">Test</label>
<input name="test" type="text" placeholder="test" autofocus required>
<hr>
<button>Submit</button>
</form>
</div>
</div>
<script>
var files = [
{url: "/vendor/raphael-min.js"},
{url: "/vendor/angular.min.js"},
{url: "/vendor/lodash.min.js"},
{url: "/vendor/backbone-min.js"},
{url: "/vendor/d3.v3.min.js"},
{url: "/vendor/fineuploader.min.js"},
{url: "/styles.css"},
{url: "/vendor/normalize.css"},
{url: "/vendor/font-awesome.min.css"}
];
loader.load.apply(a, files).then(function(){
console.log('yippee!')
});
</script>
</body>
</html>