Skip to content

isArray, vArg not defined. #112

Closed
Closed
@bwiggs

Description

@bwiggs

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions