Skip to content

IE7 (and IE6) incompatability #337

@vburzynski

Description

@vburzynski

I've been attempting to get jsPDF to work in as many versions of Internet Explorer as I could. I was able to get jsPDF to work in IE9 using the Downloadify example. IE8 was also easy enough as I just need to provide a polyfill for Array.prototype.indexOf. I hit a wall with IE7, however:

There are several points in the code where it tries to access the character in a string by index using the notation str[0]. However to my knowledge, IE7 doesn't support this and requires the use of str.charAt(0). I noticed this specifically in the uncompress function, but there may be additional portions of code that use this.

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