Commit 60539962 authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #15319 from cancerberoSgx:fs

parents 35cebbd1 dd9262c3
......@@ -38,6 +38,10 @@
// the use of this software, even if advised of the possibility of such damage.
//
if (typeof Module.FS === 'undefined' && typeof FS !== 'undefined') {
Module.FS = FS;
}
Module['imread'] = function(imageSource) {
var img = null;
if (typeof imageSource === 'string') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment