Liking cljdoc? Tell your friends :D

klipse-clj.lang.clojure.io


*cache-buster?*cljs

source

*klipse-settings*cljs

source

*verbose?*cljs

source

another-goog-pathcljs

(another-goog-path path)
source

buggy-bundled-ns-ignore?cljs

(buggy-bundled-ns-ignore? name)
source

bundled-cljsjs-ns?cljs

(bundled-cljsjs-ns? name)

some cljsjs packages are already loaded e.g react in klipse app

some cljsjs packages are already loaded e.g react in klipse app
sourceraw docstring

bundled-ns-ignore-regexpcljs

(bundled-ns-ignore-regexp)
source

bundled-ns-rootcljs

(bundled-ns-root)
source

bundled-ns?cljs

(bundled-ns? name)

Checks whether a namespace is present at run-time

Checks whether a namespace is present at run-time
sourceraw docstring

cached-cljs-ns?cljs

(cached-cljs-ns? name)
source

cached-macro-ns-regexpcljs

(cached-macro-ns-regexp)
source

cached-macro-ns?cljs

(cached-macro-ns? name)
source

cached-ns-regexpcljs

(cached-ns-regexp)
source

cached-ns-rootcljs

(cached-ns-root)
source

cljs-suffixescljs

source

cljsjs-libnamecljs

(cljsjs-libname name)
source

cljsjs?cljs

(cljsjs? name)
source

custom-bundled-ns-ignore?cljs

(custom-bundled-ns-ignore? name)
source

edncljs

(edn json)
source

external-libs-filescljs

(external-libs-files external-libs suffixes path)

returns a list of files provided list of external-libs and suffixes

returns a list of files provided list of external-libs and suffixes
sourceraw docstring

filename-ofcljs

(filename-of s)
source

fix-goog-pathcljs

(fix-goog-path path)
source

load-nscljsmultimethod

Each runtime environment provides a different way to load a library. Received two arguments - a map and a callback function: The map will have the following keys:

:name - the name of the library (a symbol) :macros - modifier signaling a macros namespace load :path - munged relative library path (a string)

It is up to the implementor to correctly resolve the corresponding .cljs, .cljc, or .js resource (the order must be respected). If :macros is true, resolution should only consider .clj or .cljc resources (the order must be respected). Upon resolution the callback should be invoked with a map containing the following keys:

:lang - the language, :clj or :js :source - the source of the library (a string) :file - optional, the file path, it will be added to AST's :file keyword (but not in :meta) :cache - optional, if a :clj namespace has been precompiled to :js, can give an analysis cache for faster loads. :source-map - optional, if a :clj namespace has been precompiled to :js, can give a V3 source map JSON

If the resource could not be resolved, the callback should be invoked with nil.

Each runtime environment provides a different way to load a library.
Received two arguments - a map and a callback function:
The map will have the following keys:

  :name   - the name of the library (a symbol)
  :macros - modifier signaling a macros namespace load
  :path   - munged relative library path (a string)

  It is up to the implementor to correctly resolve the corresponding .cljs,
  .cljc, or .js resource (the order must be respected).
  If :macros is true, resolution should only consider .clj or .cljc resources (the order must be respected).
Upon resolution the callback should be invoked with a map containing the following keys:

  :lang       - the language, :clj or :js
  :source     - the source of the library (a string)
  :file       - optional, the file path, it will be added to AST's :file keyword (but not in :meta)
  :cache      - optional, if a :clj namespace has been precompiled to :js, can give an analysis cache for faster loads.
  :source-map - optional, if a :clj namespace has been precompiled to :js, can give a V3 source map JSON

  If the resource could not be resolved, the callback should be invoked with
  nil.
sourceraw docstring

load-ns-from-cachecljs

(load-ns-from-cache name src-cb macro?)
source

load-ns-from-filecljs

(load-ns-from-file st ns-sym filename)
source

macro-suffixescljs

source

name->cached-resourcecljs

(name->cached-resource name)
source

simple-goog-pathcljs

(simple-goog-path path)
source

skip-ns-cljscljs

source

skip-ns-macroscljs

source

the-ns-mapcljs

source

try-to-load-cljsjs-nscljs

(try-to-load-cljsjs-ns name src-cb)

Try to load the js file corresponding to a cljsjs package. For that, we have to convert the package name into a full path - hosted on this git repo: https://github.com/viebel/cljsjs-hosted

Try to load the js file corresponding to a cljsjs package.
For that, we have to convert the package name into a full path - hosted on this git repo: https://github.com/viebel/cljsjs-hosted
sourceraw docstring

try-to-load-nscljs

(try-to-load-ns filenames
                lang
                src-key
                src-cb
                &
                {:keys [transform can-recover?]
                 :or {transform identity can-recover? false}})

Tries to load one namespace from filenames. Will call the src-cb upon first success. If can-recover? is false, will call src-cb with nil if it cannot load any namespace. Returns :success if a nampespace was loaded otherwise, returns nil.

Tries to load one namespace from filenames.
Will call the src-cb upon first success.
If can-recover? is false, will call src-cb with nil if it cannot load any namespace.
Returns :success if a nampespace was loaded otherwise, returns nil.
sourceraw docstring

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

× close