Fred Tingaud 16f6c0aecf
Inline adoc when include has no additional value (#1940)
Inline adoc files when they are included exactly once.

Also fix language tags because this inlining gives us better information
on what language the code is written in.
2023-05-25 14:18:12 +02:00

70 lines
2.1 KiB
Plaintext

== Why is this an issue?
Deprecation is a warning that a method, function or property has been superseded, and will eventually be removed. The deprecation period allows you to make a smooth transition away from the aging, soon-to-be-retired technology.
A method, function or property is said to be obsolete when it is no longer guaranteed to work (which can depend on the browser).
This rule raises an issue when any of the following methods, functions or properties is used:
* ``++escape()++``
* ``++unescape()++``
* ``++Iterator()++``
* ``++ParallelArray()++``
* ``++StopIteration++``
* ``++String.prototype.big()++``
* ``++String.prototype.blink()++``
* ``++String.prototype.bold()++``
* ``++String.prototype.fixed()++``
* ``++String.prototype.fontcolor()++``
* ``++String.prototype.fontsize()++``
* ``++String.prototype.italics()++``
* ``++String.prototype.quote()++``
* ``++String.prototype.small()++``
* ``++String.prototype.strike()++``
* ``++String.prototype.sub()++``
* ``++String.prototype.sup()++``
* ``++RegExp.prototype.compile()++``
* ``++Array.observe()++``
* ``++Array.unobserve()++``
* ``++Date.prototype.getYear()++``
* ``++Date.prototype.setYear()++``
* ``++Date.prototype.toGMTString()++``
* ``++TypedArray.prototype.move()++``
* ``++Function.arguments++``
* ``++Function.arity++``
* ``++Number.toInteger()++``
* ``++Object.prototype.__count__++``
* ``++Object.prototype.__noSuchMethod__++``
* ``++Object.prototype.__parent__++``
* ``++Object.prototype.__proto__++``
* ``++Object.getNotifier()++``
* ``++Object.observe()++``
* ``++Object.unobserve()++``
* ``++Object.prototype.eval()++``
* ``++handler.enumerate()++``
* ``++Reflect.enumerate()++``
* ``++WeakMap.prototype.clear()++``
* ``++WeakSet.prototype.clear()++``
This list was created using information from https://developer.mozilla.org/en-US/docs/Web/JavaScript[MDN].
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
=== Message
Remove this use of "XXX", which is (deprecated|obsolete).
=== Highlighting
The method/function.
endif::env-github,rspecator-view[]