#452 ✓ staged
Rick

Lint: Vimeo plugin fails JSLint

Reported by Rick | March 24th, 2011 @ 06:16 PM | in 0.5

Linting ./players/vimeo/popcorn.vimeo.js

    ie = !+"\v1", // feature detection based on Andrea Giammarchi's solution: http://webreflecti

n.blogspot.com/2009/01/32-bytes-to-know-if-your-browser-is-ie.html

Problem at line 46 character 14: Confusing use of '!'.

function main() {

Problem at line 178 character 18: 'main' was used before it was defined.

          if (!(c[i].nodeType == 1 && c[i].nodeName == "PARAM") && !(c[i].nodeType == 8)) {

Problem at line 396 character 72: Confusing use of '!'.

    }

Problem at line 903 character 10: Missing semicolon.

};

Problem at line 905 character 6: Unnecessary semicolon.

    var evt = "on"+evt.toString().toLowerCase();

Problem at line 952 character 17: 'evt' is already defined.

}

Problem at line 975 character 4: Missing semicolon.

};

Problem at line 993 character 6: Unnecessary semicolon.

};

Problem at line 1006 character 6: Unnecessary semicolon.

}

Problem at line 1133 character 6: Missing semicolon.

10 Error(s) found.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Popcorn.js is an HTML5 video framework that lets you bring elements of the web into your videos.

Popcorn.js is a project of Web Made Movies, Mozilla's Open Video Lab.

Shared Ticket Bins

Referenced by

Pages