This website requires JavaScript.
Explore
Help
Sign in
timoreo
/
olm
Watch
1
Star
1
Fork
You've already forked olm
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
ci/pipeline
olm
/
javascript
/
externs.js
5 lines
69 B
JavaScript
Raw
Permalink
Normal View
History
Unescape
Escape
Make OLM_OPTIONS work again The closure compiler was just renaming the variable so it never would have picked them up. Make it an extern so it knows what to do.
2018-09-21 17:35:17 +02:00
var
OLM
_OPTIONS
;
Another day, another interface Change the interface again, hopefully this time a bit more normal. Now we wrap the emscripten module completely and just expose the high level objects. The olm library export is now imported as normal (ie. returns a module rather than a function returning a module) but has an `init` method which *must* be called. This returns a promise which resolves when the module is ready. It also rejects if the module failed to set up, unlike before (and unlike the promise-not-a-promise that emscripten returns). Generally catch failures to init the module.
2018-09-25 18:13:29 +02:00
var
olm
_exports
;
var
onInitSuccess
;
var
onInitFail
;
Reference in a new issue
Copy permalink