dg.actionList - Mismatching capitalization between code and doc
Closed this issue · 0 comments
SveinungTorresdal commented
Code and doc do not match capitalization for dg.actionList, even though it's case-sensitive.
Mismatching capitalization between code and doc
I tried to initialize an action list with dg.actionlist.init(). However, it returned an 'undefined' error. Upon inspection of the dg object, it's actionList, not actionlist.
To Reproduce
Steps to reproduce the behavior:
- Attempt to initialize an action list with dg.actionlist.init()
- Open page in browser.
- Enjoy errors like 'Cannot read property of undefined'.
Expected behavior
dg.actionlist.init() initializes an action list.
Actual behavior
dg.actionlist.init() returned an undefined. Inspecting dg
object revealed it's dg.actionList.init().
Possible fix
Update doc to reflect code.