Skip to content

Commit 2d5e83e

Browse files
committed
Make member private.
1 parent 66bbe50 commit 2d5e83e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ecma-debugger/objectinspection.6.0/inspectablejsobject.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -941,7 +941,7 @@ cls.InspectionsPrototype = function()
941941
{
942942
this.add = function(obj)
943943
{
944-
this.objects.push(obj);
944+
this._objects.push(obj);
945945
var name = obj.id || obj.name;
946946
if (name)
947947
this[name] = obj;
@@ -957,7 +957,7 @@ cls.InspectionsPrototype = function()
957957
*/
958958
this.get_object = function(obj_id)
959959
{
960-
for (var i = 0, object; object = this.objects[i]; i++)
960+
for (var i = 0, object; object = this._objects[i]; i++)
961961
{
962962
if (object.object_id === obj_id)
963963
return object;
@@ -967,7 +967,7 @@ cls.InspectionsPrototype = function()
967967

968968
this.init = function()
969969
{
970-
this.objects = [];
970+
this._objects = [];
971971
};
972972
};
973973

0 commit comments

Comments
 (0)