Permalink
Browse files

wasn't reading project.clj from classpath

  • Loading branch information...
1 parent 54d31f5 commit 118127867c2ad1c3840751c83786ecc13c51da58 @hraberg committed Mar 25, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 index.html
View
@@ -3224,9 +3224,12 @@
`(match? ~@expected))</pre></td></tr><tr><td class="docs">
</td><td class="codes"><pre class="brush: clojure">(defn reset []
(reset! *net* (create-net)))</pre></td></tr><tr><td class="docs">
+</td><td class="codes"><pre class="brush: clojure">(defn version []
+ (-&gt; &quot;project.clj&quot; clojure.java.io/resource
+ slurp read-string (nth 2)))</pre></td></tr><tr><td class="docs">
</td><td class="codes"><pre class="brush: clojure">(defn -main [&amp; args]
(println)
- (println &quot;Welcome to Mímir |&quot; (-&gt; &quot;project.clj&quot; slurp read-string (nth 2)) &quot;| Copyright © 2012 Håkan Råberg&quot;)
+ (println &quot;Welcome to Mímir |&quot; (version) &quot;| Copyright © 2012 Håkan Råberg&quot;)
(println)
(require 'clojure.main)
(clojure.main/repl :init #(in-ns 'mimir.well)))</pre></td></tr><tr><td class="spacer docs">&nbsp;</td><td class="codes" /></tr></table><div class="footer">Generated by <a href="https://github.com/fogus/marginalia">Marginalia</a>.&nbsp;&nbsp;Syntax highlighting provided by Alex Gorbatchev's <a href="http://alexgorbatchev.com/SyntaxHighlighter/">SyntaxHighlighter</a></div><script type="text/javascript">SyntaxHighlighter.defaults['gutter'] = false;

0 comments on commit 1181278

Please sign in to comment.