Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • M MathJax
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 304
    • Issues 304
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • MathJax
  • MathJax
  • Merge requests
  • !1585

avoid 'x instanceof Array' (closes #1584)

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/kevinushey/bugfix/avoid-array-instanceof into develop Aug 17, 2016
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 12

Created by: kevinushey

This PR should help resolve https://github.com/mathjax/MathJax/issues/1584.

I considered using Array.isArray, but because this is an ES5 feature it might not work with older browsers. This could be implemented with a simple polyfill (e.g. just by adding this method to the Array prototype) but not sure if this is a desirable solution for MathJax.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/kevinushey/bugfix/avoid-array-instanceof