Opened 12 years ago
Closed 12 years ago
#7852 closed defect (fixed)
var 'theRole' declared in global scope in _base/wai.js
Reported by: | William Riley | Owned by: | Becky Gibson |
---|---|---|---|
Priority: | high | Milestone: | 1.2.1 |
Component: | Core | Version: | 1.2.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
in /dijit/_base/wai.js on line 80, there's a variable called 'theRole' that's being declared in the global scope.
Attachments (1)
Change History (6)
Changed 12 years ago by
Attachment: | global.patch added |
---|
comment:1 Changed 12 years ago by
Owner: | changed from anonymous to Becky Gibson |
---|
comment:4 Changed 12 years ago by
While we are at it, JSLint also suggests:
(bkImg != null... |
!= should be !== (when comparing against null)
comment:5 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
it doesn't seem to be used, either. attached is a small fix for review to ensure theRole isn't used as a stray elsewhere