lib/modules/apostrophe-assets/public/js/vendor/jquery.selective.js
function findSafe($context, selector) {
      if (arguments.length === 1) {
        selector = arguments[0];
        $context = self.$el;
      }
      if (!options.nestGuard) {
        return $context.find(selector);
      }
      return $context.find(selector).not($context.find(options.nestGuard).find(selector));
    }
function findSafe($context, selector) {
      if (arguments.length === 1) {
        selector = arguments[0];
        $context = self.$el;
      }
      if (!options.nestGuard) {
        return $context.find(selector);
      }
      return $context.find(selector).not($context.find(options.nestGuard).find(selector));
    }
function findSafe ( $context , selector ) { if ( arguments . length === 1 ) { selector = arguments [ 0 ] ; $context = self . $el ; } if ( ! options . nestGuard ) { return $context . find ( selector ) ; } return $context . find ( selector ) . not ( $context . find ( options . nestGuard ) . find ( selector ) ) ; }
Borrowed from our jquery.findSafe plugin
Borrowed from our jquery . findSafe plugin