Commit eeea391c authored by Mathieu Giraud's avatar Mathieu Giraud
Browse files

browser-dev.org: details

parent 96659af5
#+TITLE: Vidjil Algorithm -- Browser development documentation
#+TITLE: Vidjil Browser -- development documentation
#+AUTHOR: The Vidjil team (Marc, Mathieu, Mikaël and Tatiana)
......@@ -21,7 +21,7 @@ as well with the locus selection.
- The link with the patient database/server is done with the =Database= object (=js/database.js=)
- Other objects: =Report=, =Shortcut=
Extends functionalities but cannot be currently used outside the default vidjil browser.
Extends functionalities but requires elements from the full =index.html=.
** Integrating the browser
......@@ -37,8 +37,8 @@ as well with the locus selection.
- The wonderful library =require.js= is used, so there is only one file to include
<script data-main="js/app.js" src="js/lib/require.js"></script>
- =js/main.js= is the main file that creates the different views and binds them to the model.
Or you can define a function named "main()" and use it to build your own interface (see =small_example.html=)
- =js/main.js= creates the different views and binds them to the model.
Another option is to directly define a function named =main()=, as in =small_example.html=.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment