Liking cljdoc? Tell your friends :D

devtools.munging

cljs

This namespace implements various heuristics to map Javascript names back to corresponding ClojureScript names. The functionality here heavily depends on observed ClojureScript compiler and runtime behaviour (fragile!). Answers given by functions in this namespace cannot be perfect because generated Javascript naming schemes produced by ClojureScript compiler were not designed with easy reversibility in mind. We recommend this functionality to be used for presentation in the UI only. The goal here is to provide user with more familiar view of runtime state of her app in most common cases (on best effort basis).

Our main weapons in this uneven fight are:

  1. munged function names as they appear in Javascript (generated by ClojureScript)
  2. we can also analyze function sources accessible via .toString
  3. special cljs$core$IFn$_invoke protocol props generated for multi-arity functions

We can also cheat and look at runtime state of browser environment to determine some answers about namespaces.

This code can be used only in non-advanced builds!

If you discovered breakage or a new case which should be covered by this code, please open an issue: https://github.com/binaryage/cljs-devtools/issues

This namespace implements various heuristics to map Javascript names back to corresponding ClojureScript names.
The functionality here heavily depends on observed ClojureScript compiler and runtime behaviour (fragile!).
Answers given by functions in this namespace cannot be perfect because generated Javascript naming schemes produced by
ClojureScript compiler were not designed with easy reversibility in mind. We recommend this functionality to be used for
presentation in the UI only. The goal here is to provide user with more familiar view of runtime state of her app
in most common cases (on best effort basis).

Our main weapons in this uneven fight are:
  1. munged function names as they appear in Javascript (generated by ClojureScript)
  2. we can also analyze function sources accessible via .toString
  3. special cljs$core$IFn$_invoke protocol props generated for multi-arity functions

We can also cheat and look at runtime state of browser environment to determine some answers about namespaces.

This code can be used only in non-advanced builds!

If you discovered breakage or a new case which should be covered by this code, please open an issue:
  https://github.com/binaryage/cljs-devtools/issues
raw docstring

devtools.oops

These are private utilities, if you interested in similar functionality please consider using cljs-oops library.

These are private utilities, if you interested in similar functionality please consider using cljs-oops library.
raw docstring

devtools.preload

No vars found in this namespace.

devtools.toolbox

clj

Some convenience macros for situations when you want to call toolbox functions optionally under :advanced mode.

Some convenience macros for situations when you want to call toolbox functions optionally under :advanced mode.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close