2015-09-24 08:04:06 +02:00
|
|
|
---
|
|
|
|
order: 10
|
|
|
|
---
|
|
|
|
|
2015-09-26 18:30:13 +02:00
|
|
|
# Upgrading to from version -0.4.0
|
2015-06-07 09:21:19 +02:00
|
|
|
|
|
|
|
Some of the interfaces has been upgraded.
|
|
|
|
|
2015-09-26 18:30:13 +02:00
|
|
|
## Initialization
|
2015-06-07 09:21:19 +02:00
|
|
|
|
|
|
|
mermaid_config is no longer used. Instead a call to mermaid initialize is done as in the example below:
|
|
|
|
|
2015-09-24 08:04:06 +02:00
|
|
|
### version 0.4.0
|
2015-06-07 09:21:19 +02:00
|
|
|
|
|
|
|
```
|
|
|
|
mermaid_config = {
|
|
|
|
startOnLoad:true
|
|
|
|
};
|
|
|
|
```
|
|
|
|
|
2015-09-24 08:04:06 +02:00
|
|
|
### will look like below in version 0.5.0
|
2015-06-07 09:21:19 +02:00
|
|
|
|
|
|
|
```
|
|
|
|
mermaid.initialize({
|
|
|
|
startOnLoad:true
|
2015-09-26 13:00:30 +02:00
|
|
|
});
|
2015-06-07 09:21:19 +02:00
|
|
|
```
|