Not used by Mozilla!

(also fixes a warning)

Change to use non-deprecated js getter/setter syntax.


git-svn-id: svn://10.0.0.236/trunk@70722 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mccabe%netscape.com
2000-05-24 07:20:11 +00:00
parent 79b8a86bff
commit fb8d5eef77

View File

@@ -23,8 +23,8 @@ mySample.prototype = {
* properties on the JS object, follow the expected rules for prototype
* delegation, and make a mean cup of coffee.
*/
value getter: function () { return this.val; },
value setter: function (newval) { return this.val = newval; },
get value() { return this.val; },
set value(newval) { return this.val = newval; },
writeValue: function (aPrefix) {
dump("mySample::writeValue => " + aPrefix + this.val + "\n");