src/aria/DomEvent.js
function (evt) {
                if (evt && evt._ariaDomEvent) {
                    evt._wrapperNumber++;
                    return evt;
                } else {
                    return new aria.DomEvent(evt);
                }
            }
function (evt) {
                if (evt && evt._ariaDomEvent) {
                    evt._wrapperNumber++;
                    return evt;
                } else {
                    return new aria.DomEvent(evt);
                }
            }
function ( evt ) { if ( evt && evt . _ariaDomEvent ) { evt . _wrapperNumber ++ ; return evt ; } else { return new aria . DomEvent ( evt ) ; } }
Return a wrapper on the event passed as a parameter. The parameter can either be already a wrapper, in
which case the parameter is returned without other object creation, or an event from the dom, in which
case a wrapper is created.

<pre>
Instead of using the following code:
_dom_onmouseover : function (evt) {
this.$Widget._dom_onmouseover.call(this,evt);
var domEvt = new aria.DomEvent(evt);
...
domEvt.$dispose();
}
The following code should be used, so that only one DomEvt object is created per event,
event when calling the parent method:
_dom_onmouseover : function (evt) {
var domEvt = aria.DomEvent.getWrapper(evt);
this.$Widget._dom_onmouseover.call(this,domEvt);
...
domEvt.disposeWrapper();
}
</pre>

@param {DOMEvent|aria.DomEvent} evt The event from the dom or a wrapper on it.
@return {aria.DomEvent} domEvt An aria.domEvent object representing the event.
Return a wrapper on the event passed as a parameter . The parameter can either be already a wrapper in which case the parameter is returned without other object creation or an event from the dom in which case a wrapper is created .