Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Point buttons to compressed assets. Clean up headers.

  • Loading branch information...
commit 2d6e16014f55c34a0f341a029d9aabae9e436588 1 parent 99b2839
Max Goodman authored
View
2  r2/Makefile
@@ -21,7 +21,7 @@
################################################################################
# Javascript files to be compressified
-js_targets = jquery.js jquery.json.js jquery.reddit.js reddit.js ui.core.js ui.datepicker.js sponsored.js jquery.flot.js compact.js
+js_targets = jquery.js jquery.json.js jquery.reddit.js reddit.js ui.core.js ui.datepicker.js sponsored.js jquery.flot.js compact.js blogbutton.js
# CSS targets
main_css = reddit.css
css_targets = reddit-ie6-hax.css reddit-ie7-hax.css mobile.css spreadshirt.css compact.css
View
16 r2/r2/public/static/button/button1.html
@@ -6,8 +6,8 @@
<meta name="title" content=" reddit buttons " />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js" type="text/javascript"></script>
- <script src="/static/js/jquery.reddit.js" type="text/javascript"></script>
- <script src="/static/js/blogbutton.js" type="text/javascript"></script>
+ <script src="/static/jquery.reddit.js" type="text/javascript"></script>
+ <script src="/static/blogbutton.js" type="text/javascript"></script>
<script type="text/javascript">
var reddit = {};
point_label = function(x) {
@@ -17,17 +17,13 @@
return x + " points";
}
</script>
- <link rel="stylesheet" href="/static/css/reddit.css"
- type="text/css" />
- <link rel='shortcut icon' href="/static/favicon.ico"
- type="image/x-icon" />
+ <link rel="stylesheet" href="/static/reddit.css" type="text/css" />
+ <link rel='shortcut icon' href="/static/favicon.ico" type="image/x-icon" />
<!--[if lt IE 7]>
- <link rel="stylesheet" href="/static/css/reddit-ie6-hax.css"
- type="text/css" />
+ <link rel="stylesheet" href="/static/reddit-ie6-hax.css" type="text/css" />
<![endif]-->
<!--[if lt IE 8]>
- <link rel="stylesheet" href="/static/css/reddit-ie7-hax.css"
- type="text/css" />
+ <link rel="stylesheet" href="/static/reddit-ie7-hax.css" type="text/css" />
<![endif]-->
</head>
<body class="button-body">
View
16 r2/r2/public/static/button/button2.html
@@ -9,19 +9,15 @@
var reddit = { };
</script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js" type="text/javascript"></script>
- <script src="/static/js/jquery.reddit.js" type="text/javascript"></script>
- <script src="/static/js/blogbutton.js" type="text/javascript"></script>
- <link rel="stylesheet" href="/static/css/reddit.css"
- type="text/css" />
- <link rel='shortcut icon' href="/static/favicon.ico"
- type="image/x-icon" />
+ <script src="/static/jquery.reddit.js" type="text/javascript"></script>
+ <script src="/static/blogbutton.js" type="text/javascript"></script>
+ <link rel="stylesheet" href="/static/reddit.css" type="text/css" />
+ <link rel='shortcut icon' href="/static/favicon.ico" type="image/x-icon" />
<!--[if lt IE 7]>
- <link rel="stylesheet" href="/static/css/reddit-ie6-hax.css"
- type="text/css" />
+ <link rel="stylesheet" href="/static/reddit-ie6-hax.css" type="text/css" />
<![endif]-->
<!--[if lt IE 8]>
- <link rel="stylesheet" href="/static/css/reddit-ie7-hax.css"
- type="text/css" />
+ <link rel="stylesheet" href="/static/reddit-ie7-hax.css" type="text/css" />
<![endif]-->
</head>
<body class="button-body">
View
12 r2/r2/public/static/button/button3.html
@@ -7,17 +7,15 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script type="text/javascript">var reddit = {};</script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js" type="text/javascript"></script>
- <script src="/static/js/jquery.reddit.js" type="text/javascript"></script>
- <script src="/static/js/blogbutton.js" type="text/javascript"></script>
- <link rel="stylesheet" href="/static/css/reddit.css" type="text/css" />
+ <script src="/static/jquery.reddit.js" type="text/javascript"></script>
+ <script src="/static/blogbutton.js" type="text/javascript"></script>
+ <link rel="stylesheet" href="/static/reddit.css" type="text/css" />
<link rel='shortcut icon' href="/static/favicon.ico" type="image/x-icon" />
<!--[if lt IE 7]>
- <link rel="stylesheet" href="/static/css/reddit-ie6-hax.css"
- type="text/css" />
+ <link rel="stylesheet" href="/static/reddit-ie6-hax.css" type="text/css" />
<![endif]-->
<!--[if lt IE 8]>
- <link rel="stylesheet" href="/static/css/reddit-ie7-hax.css"
- type="text/css" />
+ <link rel="stylesheet" href="/static/reddit-ie7-hax.css" type="text/css" />
<![endif]-->
</head>
<body class="button-body">
View
17 r2/r2/public/static/button/button4.html
@@ -7,20 +7,15 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script type="text/javascript">var reddit = { };</script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js" type="text/javascript"></script>
- <script src="/static/js/jquery.reddit.js" type="text/javascript"></script>
- <script src="/static/js/blogbutton.js" type="text/javascript">
- </script>
- <link rel="stylesheet" href="/static/css/reddit.css"
- type="text/css" />
- <link rel='shortcut icon' href="/static/favicon.ico"
- type="image/x-icon" />
+ <script src="/static/jquery.reddit.js" type="text/javascript"></script>
+ <script src="/static/blogbutton.js" type="text/javascript"></script>
+ <link rel="stylesheet" href="/static/css/reddit.css" type="text/css" />
+ <link rel='shortcut icon' href="/static/favicon.ico" type="image/x-icon" />
<!--[if lt IE 7]>
- <link rel="stylesheet" href="/static/css/reddit-ie6-hax.css"
- type="text/css" />
+ <link rel="stylesheet" href="/static/reddit-ie6-hax.css" type="text/css" />
<![endif]-->
<!--[if lt IE 8]>
- <link rel="stylesheet" href="/static/css/reddit-ie7-hax.css"
- type="text/css" />
+ <link rel="stylesheet" href="/static/reddit-ie7-hax.css" type="text/css" />
<![endif]-->
</head>
<body class="button-body">
View
16 r2/r2/public/static/button/button5.html
@@ -7,8 +7,8 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script type="text/javascript">var reddit = { };</script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js" type="text/javascript"></script>
- <script src="/static/js/jquery.reddit.js" type="text/javascript"></script>
- <script src="/static/js/blogbutton.js" type="text/javascript"></script>
+ <script src="/static/jquery.reddit.js" type="text/javascript"></script>
+ <script src="/static/blogbutton.js" type="text/javascript"></script>
<script type="text/javascript">
function finalize_thing(data) {
var ups = data.ups - (data.likes?1:0);
@@ -56,17 +56,13 @@
}
}
</script>
- <link rel="stylesheet" href="/static/css/reddit.css"
- type="text/css" />
- <link rel='shortcut icon' href="/static/favicon.ico"
- type="image/x-icon" />
+ <link rel="stylesheet" href="/static/reddit.css" type="text/css" />
+ <link rel='shortcut icon' href="/static/favicon.ico" type="image/x-icon" />
<!--[if lt IE 7]>
- <link rel="stylesheet" href="/static/css/reddit-ie6-hax.css"
- type="text/css" />
+ <link rel="stylesheet" href="/static/reddit-ie6-hax.css" type="text/css" />
<![endif]-->
<!--[if lt IE 8]>
- <link rel="stylesheet" href="/static/css/reddit-ie7-hax.css"
- type="text/css" />
+ <link rel="stylesheet" href="/static/reddit-ie7-hax.css" type="text/css" />
<![endif]-->
</head>
<body class="button-body">
Please sign in to comment.
Something went wrong with that request. Please try again.