Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

global and DualListbox are not defined #62

Open
neoacevedo opened this issue May 21, 2021 · 1 comment
Open

global and DualListbox are not defined #62

neoacevedo opened this issue May 21, 2021 · 1 comment

Comments

@neoacevedo
Copy link

Related to this old post: #36 I can add DualListbox is not defined.

@tenq
Copy link

tenq commented Aug 23, 2021

for me, change word 'global' by 'window' solve issue:

  if(typeof exports === 'object' && typeof module === 'object')
    module.exports = factory();
  else if(typeof define === 'function' && define.amd)
    define([], factory);
  else {
    var a = factory();
    for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
  }
})(window, function() {``` <- at this line

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants