Author: ygrego Date: 2015-05-15 13:46:12 +0000 (Fri, 15 May 2015) New Revision: 1346 Url: http://forge.nuiton.org/projects/sandbox/repository/revisions/1346 Log: Modification of comments for the methods "iconUri" and "indexOf". Modified: oipf/js/impl/model/ParentalRatingScheme.js Modified: oipf/js/impl/model/ParentalRatingScheme.js =================================================================== --- oipf/js/impl/model/ParentalRatingScheme.js 2015-05-15 13:42:44 UTC (rev 1345) +++ oipf/js/impl/model/ParentalRatingScheme.js 2015-05-15 13:46:12 UTC (rev 1346) @@ -24,9 +24,9 @@ /* * Description: - * Return the URI of the icon representing the rating at index in the rating - * scheme, or undefined if no item is present at that position. If no icon - * is available, this method SHALL return null. + * Return the index of the rating represented by attribute ratingValue + * inside the parental rating scheme string collection, or -1 if the rating + * value cannot be found in the collection. * * Argument: * - ratingValue: The string representation of a parental rating value. @@ -53,9 +53,7 @@ * is available, this method SHALL return null. * * Argument: - * - index: The string representation of a parental rating value. - * See property name in section 7.9.1.1 for more information about possible - * values. Values are not case sensitive. + * - index: The index of the parental rating scheme. */ iconUri: function(index) { return this._iconUri[index];
participants (1)
-
ygregoï¼ users.nuiton.org