src/aria/html/Element.js
function makeUseless (instance) {
        instance.writeMarkup = Aria.empty;
        instance.writeMarkupBegin = Aria.empty;
        instance.writeMarkupEnd = Aria.empty;
        instance.initWidget = Aria.empty;
    }
function makeUseless (instance) {
        instance.writeMarkup = Aria.empty;
        instance.writeMarkupBegin = Aria.empty;
        instance.writeMarkupEnd = Aria.empty;
        instance.initWidget = Aria.empty;
    }
function makeUseless ( instance ) { instance . writeMarkup = Aria . empty ; instance . writeMarkupBegin = Aria . empty ; instance . writeMarkupEnd = Aria . empty ; instance . initWidget = Aria . empty ; }
This function is called when the widget validation fails. It sets every public function to Aria.empty so that we
can safely assume that the configuration is valid inside the methods defined in the prototype.
@param {aria.html.Element) instance Instance of Element widget that should be made useless
@private
This function is called when the widget validation fails . It sets every public function to Aria . empty so that we can safely assume that the configuration is valid inside the methods defined in the prototype .