Skip to content

Instantly share code, notes, and snippets.

@pandeiro
Created October 19, 2012 20:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pandeiro/3920674 to your computer and use it in GitHub Desktop.
Save pandeiro/3920674 to your computer and use it in GitHub Desktop.
A sample gist... again
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Sample gist</title>
<style>
* { background: #434321; color: #d3d3e4; }
</style>
</head>
<body>
<h1>Stuffs</h1>
<script type="text/clojurescript">
(ns foo)
(defn hello []
(apply str (reverse "olleh")))
(.log js/console (hello))
</script>
<script src="sample.js"></script>
<script src="stuff.cljs" type="text/clojurescript"></script>
</body>
</html>
(function() {
console.log('test');
}());
(ns stuff.core)
(defn why-not? []
(map identity '(1 2 3))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment