pull/15319/head
Sebastián Gurín 6 years ago
parent c546a27de7
commit dd9262c318
  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. // 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) { Module['imread'] = function(imageSource) {
var img = null; var img = null;
if (typeof imageSource === 'string') { if (typeof imageSource === 'string') {

Loading…
Cancel
Save