plupload icon indicating copy to clipboard operation
plupload copied to clipboard

Chrome / Webpack - Cannot read property 'moxie' of undefined

Open matt-paul opened this issue 10 years ago • 3 comments

Previously, plupload has been successfully used via a script tag. However, now I try to require it within an es6 webpack module, like below.. require('script!./../../../static/js/plupload.full.min.js');

i receive the following error

Uncaught TypeError: Cannot read property 'moxie' of undefined

               r[a[u]] === t && (r[a[u]] = {}),
                r = r[a[u]];
            }
            r[a[a.length - 1]] = s[o];
        }
    }
    var s = {}
      , u = "moxie/core/utils/Basic"
      , c = "moxie/core/I18n"
      , l = "moxie/core/utils/Mime"

matt-paul avatar Jul 21 '16 09:07 matt-paul

In safari, i receive the following error

TypeError: undefined is not an object (evaluating 'a[u]')

matt-paul avatar Jul 21 '16 09:07 matt-paul

Apologies, realised that this is a duplicate of #1374

matt-paul avatar Jul 21 '16 10:07 matt-paul

Update in: https://github.com/moxiecode/plupload/issues/1332

jayarjo avatar Nov 14 '16 19:11 jayarjo