Skip to content
Newer
Older
100644 24 lines (12 sloc) 945 Bytes
d86fae0 @kaos Restructure code to be usable as an erlang lib out-of-the-box.
kaos authored May 30, 2009
1 # Nitrogen Elements #
2
bf432b5 @kaos Update readme
kaos authored Jun 1, 2009
3 The simpler elements may be used as-is when nitrogen-elements is installed as an erlang lib (i.e. in the erlang libs path, see notice below).
d86fae0 @kaos Restructure code to be usable as an erlang lib out-of-the-box.
kaos authored May 30, 2009
4
5 The tabs control needs some additional changes to the javascript and css code.
6 For the time being, these changes needs to be applied manually.
7
bf432b5 @kaos Update readme
kaos authored Jun 1, 2009
8 ## Install nitrogen elements as an Erlang library ##
9
10 Run:
d8c67b8 updated readme
ofera authored Sep 28, 2009
11
12 make
bf432b5 @kaos Update readme
kaos authored Jun 1, 2009
13
14 This should compile all elements and place the beam files in the ebin sub directory. Notice: you need to have nitrogen installed (needs to find the wf.inc file).
15
695eef5 @kaos Update readme
kaos authored Jun 1, 2009
16 Add the nitrogen_elements directory to your ERL_LIBS environment variable (or place/clone it to a path already mentioned by ERL_LIBS), then
0f9a447 @kaos Update readme
kaos authored Jun 1, 2009
17
d8c67b8 updated readme
ofera authored Sep 28, 2009
18 -include_lib("nitrogen_elements/include/nitrogen_elements.hrl").
0f9a447 @kaos Update readme
kaos authored Jun 1, 2009
19
695eef5 @kaos Update readme
kaos authored Jun 1, 2009
20 to use the elements and actions provided by this lib in your code.
bf432b5 @kaos Update readme
kaos authored Jun 1, 2009
21
22 N.B. that i.e. the tabs element needs additional changes to the js and css code. See the src/element_tabs/ directory.
23
Something went wrong with that request. Please try again.