modules/file/file.js has a few coding standards problems. (Reference: http://drupal.org/node/172169). In particular, there should always be a space between the special word "function" and the parentheses that follow. Example:

Bad: var foo = function() {

Good: var foo = function () {

This file requires cleanup to comply with Drupal's coding standards. This is a good issue for someone's first patch.

CommentFileSizeAuthor
#2 777064.patch4.31 KBspyderboy
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

spyderboy’s picture

Assigned: Unassigned » spyderboy
spyderboy’s picture

FileSize
4.31 KB
cwgordon7’s picture

Status: Active » Needs review
markabur’s picture

Status: Needs review » Reviewed & tested by the community

Looks good, all occurrences of "function()" in the file have been replaced with "function ()".

aspilicious’s picture

just a note, is their a style doc about this?

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Nice clean-up! :)

Committed to HEAD.

andypost’s picture

Strange mix of unattach and detach... What is unattach? it's not documented!

webchick’s picture

Not sure, but let's discuss in a separate issue. Please cross-link here.

andypost’s picture

spyderboy’s picture

Status: Fixed » Needs review
spyderboy’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)
Issue tags: -Novice

Automatically closed -- issue fixed for 2 weeks with no activity.