Skip to content

Commit

Permalink
sizlate 0.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmcmanus committed Sep 30, 2012
1 parent 6ddcbf7 commit e0028db
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 0 deletions.
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: node sizlate.js
12 changes: 12 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"name": "node-example",
"version": "0.0.1",
"dependencies": {
"express": "2.5.x"
},
"engines": {
"node": "0.8.x",
"npm": "1.1.x",
"sizlate": "1.1.x",
}
}
52 changes: 52 additions & 0 deletions views/layout.sizlate
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>UTF8ify.com</title>
<LINK REL=StyleSheet HREF="/style.css" TYPE="text/css" MEDIA=screen>
</head>
<body>
<div role="main" id="main">
<h1>utf8ify.com</h1>
<form method="POST" action="/">
<textarea name="text" tabindex="0">
ΑβξφŒ - look at those dodgy characters.



Click the utf8ify button below.

φOw
</textarea>

<input type="submit" value="uft8ify" class="button" />
</form>

<div id="result">
<textarea></textarea>
</div>
<p class="about">
This site makes text safe for use in HTML documents.
</p>

</div>
<a href="https://github.com/simonmcmanus/utf8ify" id="git"><img src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"></a>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script src="/utf8ify.js" type="text/javascript"></script>
<script src="/interactions.js" type="text/javascript"></script>
<script type="text/javascript">
var GoSquared={};
GoSquared.acct = "GSN-775038-N";
(function(w){
function gs(){
w._gstc_lt=+(new Date); var d=document;
var g = d.createElement("script"); g.type = "text/javascript"; g.async = true; g.src = "//d1l6p2sc9645hc.cloudfront.net/tracker.js";
var s = d.getElementsByTagName("script")[0]; s.parentNode.insertBefore(g, s);
}
w.addEventListener?w.addEventListener("load",gs,false):w.attachEvent("onload",gs);
})(window);
</script>


</body>
</html>

0 comments on commit e0028db

Please sign in to comment.