Commented on SystemInfo.systemsInRange(). Ideally, it would have been deprecated in 1.75 in favour of system.info.systemsInRange(), but it wasn't and in fact only SystemInfo.systemsInRange() works in 1.75. SystemInfo.systemsInRange() is now discouraged, and will soon be undocumented.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4390 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
Jens Ayton 2011-02-20 20:16:44 +00:00
parent 5a83148e65
commit 85a85701f0

View File

@ -96,6 +96,10 @@ defineMethod(SystemInfo.prototype, "systemsInRange", function systemsInRange(ran
});
/* Because of messy history, SystemInfo.systemsInRange() is an alias to
system.info.systemsInRange(). This usage is discouraged and now undocumented.
(It should have been deprecated for 1.75, but wasn't.)
*/
defineMethod(SystemInfo, "systemsInRange", function systemsInRange(range)
{
return system.info.systemsInRange(range);