webp_js: fix webp_js demo html

We need to export 'Module.cwrap' method.

Change-Id: I2986c5a4c06630ae3f95086a114e727a86c99a2b
This commit is contained in:
Pascal Massimino
2018-04-03 13:55:33 +02:00
committed by Vincent Rabaud
parent abb4776006
commit a0215fb7dc
2 changed files with 6 additions and 3 deletions

View File

@@ -32,7 +32,8 @@ using Emscripten and CMake.
webp.js.mem files generated.
The callable JavaScript function is WebPToSDL(), which decodes a raw WebP
bitstream into a canvas. See webp_js/index.html for a simple usage sample.
bitstream into a canvas. See webp_js/index.html for a simple usage sample
(see below for instructions).
Demo HTML page:
===============