From 85c8a81eba190a6715dd7e4518ed3a110b7fff8a Mon Sep 17 00:00:00 2001 From: "pschwartau%netscape.com" Date: Mon, 6 Aug 2001 23:53:54 +0000 Subject: [PATCH] Minor improvement in readability - git-svn-id: svn://10.0.0.236/trunk@100443 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/js/tests/js1_5/Scope/scope-003.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mozilla/js/tests/js1_5/Scope/scope-003.js b/mozilla/js/tests/js1_5/Scope/scope-003.js index 57c776aa25e..0cb23dfb588 100644 --- a/mozilla/js/tests/js1_5/Scope/scope-003.js +++ b/mozilla/js/tests/js1_5/Scope/scope-003.js @@ -45,7 +45,7 @@ * * This is what we are checking for in this testcase - */ -//------------------------------------------------------------------------------------------------- +//----------------------------------------------------------------------------- var UBound = 0; var bug = '(none)'; var summary = 'Testing scope with nested functions'; @@ -66,7 +66,7 @@ function a() capture(this.toString()); } - this.f = function() + this.c = function() { capture(this.toString()); b(); @@ -77,7 +77,7 @@ function a() var obj = new a(); // captures actualvalues[0] -obj.f(); // captures actualvalues[1], actualvalues[2] +obj.c(); // captures actualvalues[1], actualvalues[2] // The values we expect - see introduction above - @@ -87,9 +87,9 @@ expectedvalues[2] = cnGlobal; -//------------------------------------------------------------------------------------------------- +//----------------------------------------------------------------------------- test(); -//------------------------------------------------------------------------------------------------- +//-----------------------------------------------------------------------------