Skip to content

Instantly share code, notes, and snippets.

@oakmac
Created February 13, 2016 19:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oakmac/012e1e5973c3e996cc29 to your computer and use it in GitHub Desktop.
Save oakmac/012e1e5973c3e996cc29 to your computer and use it in GitHub Desktop.
branching off CLJS code
(when js/webRequest
;; code that references webRequest goes here
)
@oakmac
Copy link
Author

oakmac commented Feb 13, 2016

Looks there is also exists? for this sort of thing:

(when (exists? js/webRequest)
  ;; do webRequest code here
  )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment