Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#27033 closed defect (bug) (fixed)

Extra comma in Gruntfile.js breaks `grunt jshint`

Reported by: gcorne's profile gcorne Owned by: nacin's profile nacin
Milestone: 3.9 Priority: normal
Severity: normal Version: 3.9
Component: Build/Test Tools Keywords: has-patch
Focuses: javascript Cc:

Description

There is an innocuous extra comma in Gruntfile.js that causes the grunt jshint task to fail.

[L308:C64] W070: Extra comma. (it breaks older versions of IE)
            '!' + BUILD_DIR + '/wp-content/**/*.js', 

Attachments (1)

27033-01.patch (330 bytes) - added by gcorne 10 years ago.

Download all attachments as: .zip

Change History (2)

@gcorne
10 years ago

#1 @nacin
10 years ago

  • Owner set to nacin
  • Resolution set to fixed
  • Status changed from new to closed

In 27105:

JSHint fixes for media-views and Gruntfile.

props gcorne.
fixes #27032, #27033.

Note: See TracTickets for help on using tickets.