Skip to content

hasOwnProperty in updated format float breaks IE8 and below #200

Description

@Astrophizz

IE8 and below don't seem to support hasOwnProperty for host objects according to this: http://stackoverflow.com/a/8159434
As a result,

var i,
  t = table && table.hasOwnProperty('config') ? table.config.usNumberFormat !== false :
    typeof table !== "undefined" ? table : true;

throws
Object doesn't support property or method 'hasOwnProperty'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions