We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug I cannot create my WidgetApi using new mxwidgets.WidgetApi(widgetId); because mxwidgets is a function.
new mxwidgets.WidgetApi(widgetId);
mxwidgets
To Reproduce Steps to reproduce the behavior:
<script src="https://unpkg.com/matrix-widget-api@0.1.0-beta.10/dist/api.min.js"></script>
/addwidget https://localhost:8080/#/?widgetId=$matrix_widget_id&userId=$matrix_user_id
Expected behavior mxwidgets should be an object, containing at least WidgetApi and MatrixCapabilities.
WidgetApi
MatrixCapabilities
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered:
Seems to be fixed in 0.1.0-beta.11. I can't reproduce this.
Sorry, something went wrong.
This is still an issue in 0.1.0-beta.12.
Importing ./dist/api.js works fine, but api.min.js causes the issue described.
./dist/api.js
api.min.js
No branches or pull requests
Describe the bug
I cannot create my WidgetApi using
new mxwidgets.WidgetApi(widgetId);
becausemxwidgets
is a function.To Reproduce
Steps to reproduce the behavior:
<script src="https://unpkg.com/matrix-widget-api@0.1.0-beta.10/dist/api.min.js"></script>
./addwidget https://localhost:8080/#/?widgetId=$matrix_widget_id&userId=$matrix_user_id
(adapt it to your address)Expected behavior
mxwidgets
should be an object, containing at leastWidgetApi
andMatrixCapabilities
.Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: