10000 Fixing initialization of binding by rinormaloku · Pull Request #21 · cloudevents/sdk-javascript · GitHub
[go: up one dir, main page]

Skip to content

Fixing initialization of binding #21

New issue

Have a question about this project? Sign up for a free GitHub accoun 8000 t 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

Closed
wants to merge 1 commit into from

Conversation

rinormaloku
Copy link

The following code:

    const binding = Cloudevent.bindings["http-structured0.2"](config);

will return undefined.

to create an instance we need to add the new keyword.

The following code:
```js
    const binding = Cloudevent.bindings["http-structured0.2"](config);
```
will return undefined.

to create an instance we need to add the new keyword.

Signed-off-by: Rinor Maloku <rinormaloku37@gmail.com>
@fabiojose fabiojose added the status/duplicate This issue or pull request already exists label Jun 25, 2019
@fabiojose
Copy link
Contributor

Duplicated, see #16

@fabiojose fabiojose closed this Jun 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/duplicate This issue or pull request already exists
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0