skia2/experimental
Kevin Lubick 65846c04e0 [canvaskit] Add .ready() which is a real promise
Prior to this, CanvasKit was unintentionally a thenable, which means if
it was used to resolve a Promise, certain logic would be called which
would put it into an infinite loop. By adding a .ready() which returns
a proper Promise and removes the .then(), this should make the CanvasKit
libary safer.

For now, the .then() still exists unless .ready() is called. .then will
be removed unconditionally in 0.4.0 which will be out after all known
clients (e.g. jsfiddle.skia.org) are changed.

See: https://github.com/kripken/emscripten/issues/5820

Bug: skia:
Change-Id: Ie4093f6b0ce03070ef737941693b06dfff93f61c
Reviewed-on: https://skia-review.googlesource.com/c/181177
Reviewed-by: Joe Gregorio <jcgregorio@google.com>
2019-01-04 19:48:19 +00:00
..
c-api-example bin/sysopen: script moved to bin 2018-12-06 14:21:33 +00:00
canvaskit [canvaskit] Add .ready() which is a real promise 2019-01-04 19:48:19 +00:00
docs runs some sample animations side by side in canvas and svg 2015-11-16 13:36:08 -08:00
documentation bin/sysopen: script moved to bin 2018-12-06 14:21:33 +00:00
go-demo Experimental Go bindings for Skia 2017-05-10 15:32:19 +00:00
go-skia Fix go syntax for Debian compile 2018-03-19 20:26:46 +00:00
Networking Remove a huge pile of views code 2017-11-22 18:59:44 +00:00
nima Refactor Nima code 2018-10-30 19:32:52 +00:00
pvg add pvg experiment 2018-11-02 15:35:21 +00:00
svg/model some SkAtomics cleanup 2018-12-04 13:53:39 +00:00
tools bin/gerrit-number (no longer experimental) 2018-12-05 16:47:29 +00:00
xps_to_png experimental/xps_to_png: pass in DPI as program argument 2016-11-14 15:39:09 +00:00