Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Remove trailing comma #15

Merged
merged 1 commit into from

2 participants

@tomwoolway
Collaborator

There's a trailing comma in twitter-text.js that will break in IE.
This commit removes it.

@tomwoolway tomwoolway Trailing comma breaks in IE
There's a trailing comma in twitter-text.js that will break in IE.
This commit removes it.
9a71112
@keitaf keitaf merged commit b4b4a6b into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 20, 2011
  1. @tomwoolway

    Trailing comma breaks in IE

    tomwoolway authored
    There's a trailing comma in twitter-text.js that will break in IE.
    This commit removes it.
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  twitter-text.js
View
2  twitter-text.js
@@ -85,7 +85,7 @@ if (!window.twttr) {
var INVALID_CHARS = [
fromCode(0xFFFE),
fromCode(0xFEFF), // BOM
- fromCode(0xFFFF), // Special
+ fromCode(0xFFFF) // Special
];
addCharsToCharClass(INVALID_CHARS, 0x202A, 0x202E); // Directional change
Something went wrong with that request. Please try again.