Skip to content

Javascript error in IE8 #2

Description

@GoogleCodeExporter
The following code (in mcrypt.js) causes an error in IE8, and prevents the 
mcrypt library from loading.

var ciphers={          //      block size,     key size
  "rijndael-128"        :[      16,                     32],
  "rijndael-192"        :[      24,                     32],
  "rijndael-256"        :[      32,                     32],
  "serpent"             :[      16,                     32],
 }

The issue is the comma at the end of the "serpent" line. FF and Chrome ignore 
this syntax error and work correctly.

Original issue reported on code.google.com by bratton....@gmail.com on 17 Sep 2013 at 1:33

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions