Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Michael Telatynski
Olm
Commits
fdf25eb3
Commit
fdf25eb3
authored
May 16, 2020
by
Matthew Hodgson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
spell out error msg if you don't Olm.init
parent
83bf351a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
javascript/README.md
javascript/README.md
+2
-1
No files found.
javascript/README.md
View file @
fdf25eb3
...
...
@@ -2,7 +2,8 @@ Olm
===
Note: before using any of the olm functions, you must call
`Olm.init()`
, and
wait for the promise to resolve.
wait for the promise to resolve, otherwise you will get errors like:
`Uncaught TypeError: Olm.Account is not a constructor`
Example:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment