Fix js strict warnings about redeclaration of vars and reference to undefined vars. sr=ben

git-svn-id: svn://10.0.0.236/trunk@104297 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
blakeross%telocity.com 2001-10-01 03:56:43 +00:00
parent 63c8f01fa5
commit 55c51d01bd

View File

@ -90,7 +90,7 @@ function onLoadPageInfo()
/* Selected the requested tab, if the name is specified */
/* if (window.arguments != null) { */
if ("arguments" in window) {
if ("arguments" in window && window.arguments.length > 1) {
var tabName = window.arguments[1];
if (tabName)
@ -112,7 +112,6 @@ function makeDocument(page, root)
var lastModified;
var lastMod = page.lastModified // get string of last modified date
var lastModdate = Date.parse(lastMod) // convert modified string to date
var lastModified;
if (lastModdate) {
var date = new Date(lastModdate);
try {