Skip to content

hasOwnProperty in updated format float breaks IE8 and below #200

@Astrophizz

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions