binaryage / binaryage/cljs-oops

Add docs for how to use ocall.

Open
#29 3 comments 2 reactions 0 assignees View on GitHub
Dominant language
Clojure
Stars
350
Forks
13
PR merge metrics
No merged PRs in 30d

Description

Right now there doesn't seem to be any docs on how to use ocall...and I can't seem to figure it out by trial and error myself.

I'm trying to translate:

`(.call (oget % "getDoc") %)` to use `ocall`, with no success. I've tried things such as:

`(ocall % "getDoc")`, `(ocall % "getDoc" %)`, `(ocall % ("getDoc"))`, `(ocall "getDoc" %)`, etc.

I would imagine the first one is what I should be using. But since there's no documentation I can't tell if its breaking because I'm using it wrong, or because of some other error.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.