Merge pull request #15319 from cancerberoSgx:fs

pull/15875/head
Alexander Alekhin 5 years ago
commit 6053996253
  1. 4
      modules/js/src/helpers.js

@ -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') {

Loading…
Cancel
Save