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

isArray, vArg not defined. #112

Closed
bwiggs opened this issue Sep 14, 2013 · 1 comment
Closed

isArray, vArg not defined. #112

bwiggs opened this issue Sep 14, 2013 · 1 comment

Comments

@bwiggs
Copy link

bwiggs commented Sep 14, 2013

The isArray fallback throws an error when it's used because vArg is undefined.

var utils = {
  isArray: Array.isArray || function() {
    return Object.prototype.toString.call(vArg) === '[object Array]';
  }
};

I've provided a PR to the upstream project with the fix.
brianreavis/microplugin.js#1

@brianreavis
Copy link
Member

This is part of the v0.7.6 release. Thanks!

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