Skip to content

IE8 incompatibility caused by fix #105 #181

@gulima

Description

@gulima

In Internet Explorer 8, Object.defineProperty() can be used only on DOM objects [1].
Calling this method on an "generic" object literal (like the xhrObject) throws an error that says object does not support this action, and the code execution is halted.
That way, jquery-typeahead is not compatible (when we need AJAX requests, at least) with IE8.

[1] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/defineProperty

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions