Skip to content

Commit 36b27a4

Browse files
author
Daniel Herzog
committed
Added empty setters
1 parent 19d3102 commit 36b27a4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/network/network_service.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -990,21 +990,21 @@ cls.NetworkLoggerEntryPrototype = function()
990990
{
991991
return (this.events.length && this.endtime - this.starttime) || 0;
992992
});
993+
this.__defineSetter__("duration", function(){});
993994

994995
this.__defineGetter__("waiting_time", function()
995996
{
996997
var waiting_time = this.event_sequence.filter(helpers.eq("classname", CLASSNAME_WAITING))
997998
.sum(helpers.prop("val"));
998999
return waiting_time || 0;
9991000
});
1001+
this.__defineSetter__("waiting_time", function(){});
10001002

10011003
this.__defineGetter__("touched_network", function()
10021004
{
10031005
return Boolean(this.current_request);
10041006
});
1005-
1006-
// todo: add empty setters.
1007-
1007+
this.__defineSetter__("touched_network", function(){});
10081008
};
10091009

10101010
cls.NetworkLoggerEntryPrototype.prototype = new URIPrototype("url");

0 commit comments

Comments
 (0)