-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Core API docu #602
Core API docu #602
Conversation
docs/luigi-core-api.md
Outdated
|
||
##### Parameters | ||
|
||
- `configInput` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)?** the Luigi Core configuration object |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove the question mark at the end (by removing the square brackets around the parameter name in the source file).
docs/luigi-core-api.md
Outdated
|
||
##### Parameters | ||
|
||
- `property` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?** the object traversal path |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove the question mark at the end (by removing the square brackets around the parameter name in the source file).
docs/luigi-core-api.md
Outdated
|
||
##### Parameters | ||
|
||
- `property` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?** the object traversal path |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove the question mark at the end (by removing the square brackets around the parameter name in the source file).
docs/luigi-core-api.md
Outdated
|
||
##### Parameters | ||
|
||
- `property` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?** the object traversal path |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove the question mark at the end (by removing the square brackets around the parameter name in the source file).
docs/luigi-core-api.md
Outdated
##### Parameters | ||
|
||
- `property` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?** the object traversal path | ||
- `parameters` **mixed?** optional parameters that are used if the target is a function |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove the question mark at the end (by removing the square brackets around the parameter name in the source file).
docs/luigi-core-api.md
Outdated
##### Examples | ||
|
||
```javascript | ||
Luigi.config().getConfigValue('auth.use') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Luigi.config() is not made available globally; this call leads to "TypeError: Luigi.config is not a function". The config related functions are available on root level of Luigi object.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added comments
Co-Authored-By: Barbara Szwarc <[email protected]>
documented core api
Docu for Core APIs: