Opened 14 years ago

Closed 14 years ago

#574 closed defect (invalid)

A few JS errors which Mozilla reported

Reported by: Random Bits Owned by: gogo
Priority: normal Milestone:
Component: Plugin_Fullscreen Version:
Severity: normal Keywords:
Cc:

Description

Warning: function sizeItUp does not always return a value
Source File: http://localhost:8080/script/xinha/plugins/FullScreen/full-screen.js
Line: 79, Column: 2
Source Code:

}

Warning: function sizeItDown does not always return a value
Source File: http://localhost:8080/script/xinha/plugins/FullScreen/full-screen.js
Line: 87, Column: 2
Source Code:

}

Warning: redeclaration of var bod
Source File: http://localhost:8080/script/xinha/plugins/FullScreen/full-screen.js
Line: 129, Column: 12
Source Code:

var bod = document.getElementsByTagName('body');

Warning: redeclaration of var ancestor
Source File: http://localhost:8080/script/xinha/plugins/FullScreen/full-screen.js
Line: 162, Column: 8
Source Code:

var ancestor = this._htmlArea;

Warning: redeclaration of var bod
Source File: http://localhost:8080/script/xinha/plugins/FullScreen/full-screen.js
Line: 182, Column: 12
Source Code:

var bod = document.getElementsByTagName('html');

Warning: redeclaration of var bod
Source File: http://localhost:8080/script/xinha/plugins/FullScreen/full-screen.js
Line: 186, Column: 12
Source Code:

var bod = document.getElementsByTagName('body');

Warning: assignment to undeclared variable cfg
Source File: http://localhost:8080/script/xinha/plugins/FullScreen/full-screen.js
Line: 5

Change History (1)

comment:1 Changed 14 years ago by anonymous

  • Resolution set to invalid
  • Status changed from new to closed

Please do not submit these useless warnings. Redeclaration of variables is perfectly all right.

Note: See TracTickets for help on using tickets.