Skip to content

Commit

Permalink
update change log and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruce Hauman committed May 17, 2015
1 parent db67a4e commit 8268ba9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
11 changes: 11 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
## 0.3.2

* provide global custom events "figwheel.js-reload" and "figwheel.before-js-reload" for folks to hook into
* initial build wasn't providing figwheel start hook to output-to file
* merge PR #150 allow to configure binding host of nREPL
* bump clojure requirement to be inline with clojurescript "0.1.7beta3" to fix #152
* fix #151 stop depending on presence of project.clj
* fix #147 handle presence of a deps.cljs on the source path
* fix #145 cannot read property cljs$lang$maxFixedArity
* merge PR #146 correctly detect if in html document

## 0.3.1

* fixed regression on supporting map based build configs
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ getting started guide available at the moment.
First make sure you include the following `:dependencies` in your `project.clj` file.

```clojure
[org.clojure/clojure "1.6.0"] ;; has to be at least 1.6.0
[org.clojure/clojure "1.7.0-beta3"]
[org.clojure/clojurescript "0.0-3211"] ;; has to be at least 3211 or greater
```

Expand All @@ -137,7 +137,7 @@ section of your project.clj.

```clojure
[lein-cljsbuild "1.0.5"]
[lein-figwheel "0.3.1"]
[lein-figwheel "0.3.2"]
```

#### Configure lein cljsbuild
Expand All @@ -151,7 +151,7 @@ Here is an example:
:cljsbuild {
:builds [ { :id "example"
:source-paths ["src/"]
:figwheel { :on-jsload "example.core/reload-hook" }
:figwheel true
:compiler { :main "example.core"
:asset-path "js/out"
:output-to "resources/public/js/example.js"
Expand All @@ -165,7 +165,7 @@ that has `:optimizations` set to `:none` or `nil`.
If you leave out the `:optimizations` key the ClojureScript compiler
will default to `:none`.

Setting `:figwheel { :on-jsload "example.core/reload-hook" }` will
Setting `:fighweel true` or `:figwheel { :on-jsload "example.core/reload-hook" }` will
automagically insert the figwheel client code into your application.
If you supply `:on-jsload` the name of a function, that function will
be called after new code gets reloaded.
Expand Down

0 comments on commit 8268ba9

Please sign in to comment.