Skip to content

Commit bfcc9fa

Browse files
committed
Fix JSDoc for CSSStyleSheet#deleteRule
1 parent b78785d commit bfcc9fa

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

lib/CSSStyleSheet.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,8 @@ CSSOM.CSSStyleSheet.prototype.insertRule = function(rule, index) {
5454
* sheet.toString()
5555
* -> "body{margin:0;}"
5656
*
57-
* @param {number} index
57+
* @param {number} index within the style sheet's rule list of the rule to remove.
5858
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleSheet-deleteRule
59-
* @return {number} The index within the style sheet's rule list of the rule to remove.
6059
*/
6160
CSSOM.CSSStyleSheet.prototype.deleteRule = function(index) {
6261
if (index < 0 || index >= this.cssRules.length) {

0 commit comments

Comments
 (0)