Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions content/reference/advanced-compilation.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,16 @@ This works by including https://google.github.io/closure-library/api/goog.html#e
calls in the emitted JavaScript wherever `:export` meta is associated
with a `def`.

You can individually export protocol methods. In this example, `bar` and `quux` will be exported:

[source,clojure]
```
(defprotocol IFoo
(^:export bar [this])
(baz [this x])
(^:export quux [this x y]))
```

[[fixing-advanced-compilation-issues]]
== Fixing Advanced Compilation Issues

Expand Down