We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b78785d commit bfcc9faCopy full SHA for bfcc9fa
1 file changed
lib/CSSStyleSheet.js
@@ -54,9 +54,8 @@ CSSOM.CSSStyleSheet.prototype.insertRule = function(rule, index) {
54
* sheet.toString()
55
* -> "body{margin:0;}"
56
*
57
- * @param {number} index
+ * @param {number} index within the style sheet's rule list of the rule to remove.
58
* @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.
60
*/
61
CSSOM.CSSStyleSheet.prototype.deleteRule = function(index) {
62
if (index < 0 || index >= this.cssRules.length) {
0 commit comments