#6558 closed defect (bug) (fixed)
Global javascript variables incorrectly defined
Reported by: | johnjamesjacoby | Owned by: | johnjamesjacoby |
---|---|---|---|
Milestone: | 2.4 | Priority: | normal |
Severity: | normal | Version: | 2.3.0 |
Component: | Core | Keywords: | 2nd-opinion |
Cc: |
Description (last modified by )
There are a few places where global variables in javascript files are incorrectly defined, causing issues in my IDE with code completion, scanning, etc...
Some files use:
/* globals foo, boo, etc */
This should be...
/* global foo, boo, etc */
Attachments (1)
Change History (6)
Note: See
TracTickets for help on using
tickets.
The WordPress Customizer appears to use
globals
also, though there are 60ish references ofglobal
in other files.