Skip to content

Commit

Permalink
Use rawgithub for the script.
Browse files Browse the repository at this point in the history
  • Loading branch information
netzpirat committed Jun 18, 2013
1 parent 578dd88 commit 3a5a3a3
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 34 deletions.
65 changes: 32 additions & 33 deletions public/index.html
@@ -1,33 +1,32 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!DOCTYPE html>
<html lang='en'>
<head>
<title>Haml Coffee Online</title>
<meta charset='utf-8' />
<meta content='3 days' name='revisit-after' />
<meta charset='Try Haml Coffee Online in your Browser' name='description' />
<meta charset='Haml, CoffeeScript, Template, JavaScript, JST' name='keywords' />
<meta charset='Michael Kessler' name='author' />
<script src='http://cdnjs.cloudflare.com/ajax/libs/coffee-script/1.3.1/coffee-script.min.js'></script>
<script src='http://raw.github.com/netzpirat/haml-coffee/master/dist/compiler/hamlcoffee.min.js'></script>
<meta charset='utf-8'>
<meta content='de' http-equiv='content-language'>
<meta content='3 days' name='revisit-after'>
<meta charset='Try Haml Coffee Online in your Browser' name='description'>
<meta charset='Haml, CoffeeScript, Template, JavaScript, JST' name='keywords'>
<meta charset='Michael Kessler' name='author'>
<script src='//cdnjs.cloudflare.com/ajax/libs/coffee-script/1.6.2/coffee-script.min.js'></script>
<script src='//rawgithub.com/netzpirat/haml-coffee/master/dist/compiler/hamlcoffee.min.js'></script>
<script src='/assets/application.js'></script>
<link href='/assets/application.css' rel='stylesheet' type='text/css' />
<link href='http://fonts.googleapis.com/css?family=PT+Sans+Narrow' rel='stylesheet' type='text/css' />
<link href='http://fonts.googleapis.com/css?family=Droid+Sans+Mono' rel='stylesheet' type='text/css' />
<link href='http://fonts.googleapis.com/css?family=Engagement' rel='stylesheet' type='text/css' />
<link href='http://haml-coffee-online.herokuapp.com/assets/favicon.ico' rel='shortcut icon' />
<link href='http://haml-coffee-online.herokuapp.com/assets/favicon.png' rel='icon' type='image/png' />
<script type='text/javascript'>
//<![CDATA[
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-33850664-1']);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
//]]>
<link href='/assets/application.css' rel='stylesheet' type='text/css'>
<link href='//fonts.googleapis.com/css?family=PT+Sans+Narrow' rel='stylesheet' type='text/css'>
<link href='//fonts.googleapis.com/css?family=Droid+Sans+Mono' rel='stylesheet' type='text/css'>
<link href='//fonts.googleapis.com/css?family=Engagement' rel='stylesheet' type='text/css'>
<link href='http://haml-coffee-online.herokuapp.com/assets/favicon.ico' rel='shortcut icon'>
<link href='http://haml-coffee-online.herokuapp.com/assets/favicon.png' rel='icon' type='image/png'>
<script>
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-33850664-1']);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body>
Expand All @@ -37,7 +36,7 @@
</a>
<div id='container'>
<header>
<img alt='Haml Coffee Online' class='animated flipInY' height='256px' src='/images/coffee_machine.png' width='256px' />
<img alt='Haml Coffee Online' class='animated flipInY' height='256px' src='/images/coffee_machine.png' width='256px'>
<h1>Haml Coffee Online</h1>
<p>
Hi! I'm
Expand Down Expand Up @@ -72,23 +71,23 @@ <h1>Haml Coffee Online</h1>
<legend>Options</legend>
<ul>
<li>
<input checked='checked' id='escapeHtml' type='checkbox' />
<input checked='checked' id='escapeHtml' type='checkbox'>
<label for='escapeHtml'>Escape HTML</label>
</li>
<li>
<input checked='checked' id='escapeAttributes' type='checkbox' />
<input checked='checked' id='escapeAttributes' type='checkbox'>
<label for='escapeAttributes'>Escape attributes</label>
</li>
<li>
<input checked='checked' id='cleanValue' type='checkbox' />
<input checked='checked' id='cleanValue' type='checkbox'>
<label for='cleanValue'>Clean values</label>
</li>
<li>
<input id='uglify' type='checkbox' />
<input id='uglify' type='checkbox'>
<label for='uglify'>Uglify</label>
</li>
<li>
<input id='extendScope' type='checkbox' />
<input id='extendScope' type='checkbox'>
<label for='extendScope'>Extend scope</label>
</li>
<li>
Expand Down Expand Up @@ -130,7 +129,7 @@ <h1>Haml Coffee Online</h1>
<div id='result'></div>
</div>
<footer>
<img alt='Netzpirat' height='48' src='/images/netzpirat.png' width='48' />
<img alt='Netzpirat' height='48' src='/images/netzpirat.png' width='48'>
Haml Coffee is developed by
<a href='https://mksoft.ch'>Michael Kessler</a>
(<a href='http://twitter.com/netzpirat/'>@netzpirat</a>)
Expand Down
2 changes: 1 addition & 1 deletion src/index.haml
Expand Up @@ -12,7 +12,7 @@
%meta{ charset: 'Michael Kessler', name: 'author' }

%script{ src: '//cdnjs.cloudflare.com/ajax/libs/coffee-script/1.6.2/coffee-script.min.js' }
%script{ src: '//raw.github.com/netzpirat/haml-coffee/master/dist/compiler/hamlcoffee.min.js' }
%script{ src: '//rawgithub.com/netzpirat/haml-coffee/master/dist/compiler/hamlcoffee.min.js' }
%script{ src: '/assets/application.js' }

%link{ rel: 'stylesheet', type: 'text/css', href: '/assets/application.css' }
Expand Down

0 comments on commit 3a5a3a3

Please sign in to comment.