#26008 closed defect (bug) (fixed)
jshint shouldn't throw errors: wp-admin/js/set-post-thumbnail.js
Reported by: | atimmer | Owned by: | nacin |
---|---|---|---|
Milestone: | 3.8 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Build/Test Tools | Keywords: | has-patch |
Focuses: | Cc: |
Description
9 errors to fix.
Attachments (1)
Change History (5)
Note: See
TracTickets for help on using
tickets.
Rather than
window.
, we're going to use/* global */
. This is in part to help us identify globals we use and ideally cut down on them in the future. Or in this case, to self-flog ourselves for using confirm() and alert().