docs/theme/assets/vendor/foundation/js/foundation.min.js
function (selector, context) {
    if (typeof selector === 'string') {
      if (context) {
        var cont;
        if (context.jquery) {
          cont = context[0];
          if (!cont) {
            return context;
          }
        } else {
          cont = context;
        }
        return $(cont.querySelectorAll(selector));
      }

      return $(document.querySelectorAll(selector));
    }

    return $(selector, context);
  }
function (selector, context) {
    if (typeof selector === 'string') {
      if (context) {
        var cont;
        if (context.jquery) {
          cont = context[0];
          if (!cont) {
            return context;
          }
        } else {
          cont = context;
        }
        return $(cont.querySelectorAll(selector));
      }

      return $(document.querySelectorAll(selector));
    }

    return $(selector, context);
  }
function ( selector , context ) { if ( typeof selector === 'string' ) { if ( context ) { var cont ; if ( context . jquery ) { cont = context [ 0 ] ; if ( ! cont ) { return context ; } } else { cont = context ; } return $ ( cont . querySelectorAll ( selector ) ) ; } return $ ( document . querySelectorAll ( selector ) ) ; } return $ ( selector , context ) ; }
private Fast Selector wrapper, returns jQuery object. Only use where getElementById is not available.
private Fast Selector wrapper returns jQuery object . Only use where getElementById is not available .