Skip to content

Commit

Permalink
change port
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruce Hauman committed Apr 21, 2015
1 parent 88638bf commit e2e4a4f
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
3 changes: 2 additions & 1 deletion dev_src/crashverse/dev.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
[figwheel.client :as fw]))

(fw/start {
:websocket-url "ws://localhost:3449/figwheel-ws"
:websocket-url "ws://localhost:4449/figwheel-ws"
:build-id "dev"
:on-jsload (fn []

;; (stop-and-start-my app)
)})
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@

:figwheel {
:http-server-root "public" ;; default and assumes "resources"
:server-port 3449 ;; default
:server-port 4449 ;; default
:css-dirs ["resources/public/css"] ;; watch and update CSS

;; Start an nREPL server into the running figwheel process
Expand Down
11 changes: 10 additions & 1 deletion resources/public/css/style.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
/* some style */
body {
background-color: rgb(24,26,38);
}

.board {
width: 500px;
height: 500px;
background-color: black;
position: relative;
overflow: hidden;
margin: auto;
}

.planet {
Expand Down Expand Up @@ -44,4 +49,8 @@
background-image: url("/explosion.gif")
}


@media (max-width: 600px) {
#app > .board {
zoom: 0.7;
}
}
3 changes: 1 addition & 2 deletions src/crashverse/core.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,6 @@

(def round js/Math.round)



;; rotation
;; x' = x \cos \theta - y \sin \theta\,,
;; y' = x \sin \theta + y \cos \theta\,.
Expand Down Expand Up @@ -166,6 +164,7 @@

;; Multiple builds

;; repl interaction

(defn universe-time [u-data]
(- (time-now) (:start-time u-data)))
Expand Down

0 comments on commit e2e4a4f

Please sign in to comment.