Updated conf handling

Added initialize function
Moved genric configuration as clonseCssStyles till conf root
Added parse funtion to the mermaidAPI api
This commit is contained in:
knsv
2015-06-07 09:21:19 +02:00
parent 55fa62d9c0
commit 08fa19bc83
18 changed files with 427 additions and 608 deletions

23
upgrading.md Normal file
View File

@@ -0,0 +1,23 @@
#Upgrading to from version -0.4.0
Some of the interfaces has been upgraded.
#Initialization
mermaid_config is no longer used. Instead a call to mermaid initialize is done as in the example below:
## version 0.4.0
```
mermaid_config = {
startOnLoad:true
};
```
## will look like below in version 0.5.0
```
mermaid.initialize({
startOnLoad:true
});
```