diff --git a/project.clj b/project.clj index 17745a8..8bfce66 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject mw-ui "0.1.2-SNAPSHOT" +(defproject mw-ui "0.1.2" :description "Web-based user interface for MicroWorld" :url "http://www.journeyman.cc/microworld" :manifest { @@ -9,8 +9,8 @@ "Implementation-Version" "unset" } :dependencies [[org.clojure/clojure "1.6.0"] - [mw-engine "0.1.2-SNAPSHOT"] - [mw-parser "0.1.2-SNAPSHOT"] + [mw-engine "0.1.2"] + [mw-parser "0.1.2"] [lib-noir "0.8.4"] [ring-server "0.3.1"] [selmer "0.6.8"] diff --git a/resources/public/docs/mw-parser/uberdoc.html b/resources/public/docs/mw-parser/uberdoc.html index 57aa9fa..756b2c6 100644 --- a/resources/public/docs/mw-parser/uberdoc.html +++ b/resources/public/docs/mw-parser/uberdoc.html @@ -3028,8 +3028,8 @@ net.brehaut.ClojureTools = (function (SH) { build_tree: build_tree }; })(SyntaxHighlighter); -mw-parser -- Marginalia

mw-parser

0.1.2-SNAPSHOT


Parser for production rules for MicroWorld engine

-

dependencies

org.clojure/clojure
1.5.1
org.clojure/tools.trace
0.7.8
mw-engine
0.1.2-SNAPSHOT



(this space intentionally left almost blank)
 

parse multiple rules from a stream, possibly a file - although the real +mw-parser -- Marginalia

mw-parser

0.1.3-SNAPSHOT


Parser for production rules for MicroWorld engine

+

dependencies

org.clojure/clojure
1.5.1
org.clojure/tools.trace
0.7.8
mw-engine
0.1.3-SNAPSHOT



(this space intentionally left almost blank)
 

parse multiple rules from a stream, possibly a file - although the real objective is to parse rules out of a block of text from a textarea

(ns mw-parser.bulk
diff --git a/resources/public/docs/mw-ui/uberdoc.html b/resources/public/docs/mw-ui/uberdoc.html
index ac8b247..53e8a37 100644
--- a/resources/public/docs/mw-ui/uberdoc.html
+++ b/resources/public/docs/mw-ui/uberdoc.html
@@ -3028,8 +3028,8 @@ net.brehaut.ClojureTools = (function (SH) {
     build_tree: build_tree
   };
 })(SyntaxHighlighter);
-mw-ui -- Marginalia

mw-ui

0.1.2-SNAPSHOT


Web-based user interface for MicroWorld

-

dependencies

org.clojure/clojure
1.6.0
mw-engine
0.1.2-SNAPSHOT
mw-parser
0.1.2-SNAPSHOT
lib-noir
0.8.4
ring-server
0.3.1
selmer
0.6.8
com.taoensso/timbre
3.2.1
com.taoensso/tower
2.0.2
markdown-clj
0.9.44
environ
0.5.0
noir-exception
0.2.2



(this space intentionally left almost blank)
 
+mw-ui -- Marginalia

mw-ui

0.1.2


Web-based user interface for MicroWorld

+

dependencies

org.clojure/clojure
1.6.0
mw-engine
0.1.2
mw-parser
0.1.2
lib-noir
0.8.4
ring-server
0.3.1
selmer
0.6.8
com.taoensso/timbre
3.2.1
com.taoensso/tower
2.0.2
markdown-clj
0.9.44
environ
0.5.0
noir-exception
0.2.2



(this space intentionally left almost blank)
 
(ns mw-ui.handler
   (:require [compojure.core :refer [defroutes]]
             [mw-ui.routes.home :refer [home-routes]]
@@ -3321,7 +3321,7 @@ net.brehaut.ClojureTools = (function (SH) {
         (if (not (= map "")) 
           (session/put! :world 
                         (heightmap/apply-heightmap 
-                          (as-file (str "/img/heightmaps/" map ".png")))))
+                          (io/get-resource (str "/img/heightmaps/" map ".png")))))
         (if (not (= rulefile ""))
           (do
             (session/put! :rule-text (io/slurp-resource rulepath))
diff --git a/src/mw_ui/routes/params.clj b/src/mw_ui/routes/params.clj
index bed72ab..913a1bd 100644
--- a/src/mw_ui/routes/params.clj
+++ b/src/mw_ui/routes/params.clj
@@ -34,7 +34,7 @@
         (if (not (= map "")) 
           (session/put! :world 
                         (heightmap/apply-heightmap 
-                          (as-file (str "/img/heightmaps/" map ".png")))))
+                          (io/get-resource (str "/img/heightmaps/" map ".png")))))
         (if (not (= rulefile ""))
           (do
             (session/put! :rule-text (io/slurp-resource rulepath))