Liking cljdoc? Tell your friends :D

bluegenes.components.tools.views


fetch-scriptcljs

(fetch-script tool tool-id)

Dynamically inserts the tool api script into the head of the document

Dynamically inserts the tool api script into the head of the document
sourceraw docstring

fetch-stylescljs

(fetch-styles tool)

If the tool api script has a stylesheet as well, load it and insert into the doc

If the tool api script has a stylesheet as well, load it and insert into the doc
sourceraw docstring

maincljs

(main)

Initialise all the tools on the page

Initialise all the tools on the page
sourceraw docstring

Can be used from JS like this: navigate('report', {type: 'Gene', id: 1018204}, 'humanmine'); navigate('query', myQueryObj, 'flymine'); Note that the third argument specifying the mine namespace is optional.

Can be used from JS like this:
    navigate('report', {type: 'Gene', id: 1018204}, 'humanmine');
    navigate('query', myQueryObj, 'flymine');
Note that the third argument specifying the mine namespace is optional.
sourceraw docstring

(navigate_ target data mine)

JS can't call navigate if we pass it the multimethod directly, so wrap it!

JS can't call `navigate` if we pass it the multimethod directly, so wrap it!
sourceraw docstring

run-scriptcljs

(run-script tool tool-id)

Executes a tool-api compliant main method to initialise a tool

Executes a tool-api compliant main method to initialise a tool
sourceraw docstring

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

× close