Skip to content

Commit 6ad1191

Browse files
committed
mmm
1 parent 5113bd0 commit 6ad1191

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

build/build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ mkdir output/img
99
cp -r ../img output
1010
cp ../index.html output/index.html
1111
sed -i 's/js\/libs\/require\/require.js/js\/main.js/g' output/index.html
12-
s3cmd put --recursive --acl-public output/* s3://apiengine
12+
sed -i 's/ data-main="js\/main"//g' output/index.html
13+
s3cmd put --recursive --acl-public --add-header=Cache-Control:max-age=604800 output/* s3://apiengine

index.html

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<!doctype html>
2-
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
3-
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]-->
4-
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]-->
5-
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
2+
<html lang="en">
63
<head>
74
<meta charset="utf-8">
85
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
@@ -11,11 +8,10 @@
118
<meta name="viewport" content="width=device-width,initial-scale=1">
129
<meta name="description" content="">
1310
<link rel="stylesheet" href="css/styles.css">
14-
15-
<script data-main="js/main" src="js/libs/require/require.js"></script>
1611
</head>
1712
<body>
18-
<!--Initially populated by templates/layout.html -->
1913
<div class="container"></div>
14+
15+
<script data-main="js/main" src="js/libs/require/require.js" type="text/javascript"></script>
2016
</body>
2117
</html>

0 commit comments

Comments
 (0)