-
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
es5-for-luigi #33
es5-for-luigi #33
Conversation
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.
Next time please be sure to provide proper PR title and description.
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.
Check comments.
client/README.md
Outdated
``` | ||
or | ||
```javascript | ||
import * as LuigiClient from '@kyma-project/luigi-client'; |
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.
import LuigiClient from '@kyma-project/luigi-client'
should be enough.
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.
true. fixed
client/luigi-client.js
Outdated
@@ -1,307 +1,307 @@ | |||
(function (root, factory) { // UMD wrapper | |||
if (typeof define === 'function' && define.amd) { | |||
define([], factory); |
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.
From AMD documentation:
define(id?, dependencies?, factory);
Since dependencies are not required, we don't need this empty array of dependencies.
* es5-for-luigi * change import for luigi-client, as it is now a commonjs module * package-lock update * create a UMD for client lib * change import syntax * change amd definition
No description provided.