define(["../core"],function(jQuery){functiongetAll(context,tag){// Support: IE9-11+// Use typeof to avoid zero-argument method invocation on host objects (#15151)varret=typeofcontext.getElementsByTagName!=="undefined"?context.getElementsByTagName(tag||"*"):typeofcontext.querySelectorAll!=="undefined"?context.querySelectorAll(tag||"*"):[];returntag===undefined||tag&&jQuery.nodeName(context,tag)?jQuery.merge([context],ret):ret;}returngetAll;});