Ticket #574 (closed defect: invalid)

Opened 8 years ago

Last modified 8 years ago

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

Changed 8 years ago by anonymous

  • status changed from new to closed
  • resolution set to invalid

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

Note: See TracTickets for help on using tickets.