lib/modules/apostrophe-assets/public/js/vendor/jquery.projector.js
function findSafe($element, selector, ignore) {
          var $self = $element;
          return $self.find(selector).filter(function() {
            var $parents = $(this).parents();
            var i;
            for (i = 0; (i < $parents.length); i++) {
              if ($parents[i] === $self[0]) {
                return true;
              }
              if ($($parents[i]).is(ignore)) {
                return false;
              }
            }
          });
        }
function findSafe($element, selector, ignore) {
          var $self = $element;
          return $self.find(selector).filter(function() {
            var $parents = $(this).parents();
            var i;
            for (i = 0; (i < $parents.length); i++) {
              if ($parents[i] === $self[0]) {
                return true;
              }
              if ($($parents[i]).is(ignore)) {
                return false;
              }
            }
          });
        }
function findSafe ( $element , selector , ignore ) { var $self = $element ; return $self . find ( selector ) . filter ( function ( ) { var $parents = $ ( this ) . parents ( ) ; var i ; for ( i = 0 ; ( i < $parents . length ) ; i ++ ) { if ( $parents [ i ] === $self [ 0 ] ) { return true ; } if ( $ ( $parents [ i ] ) . is ( ignore ) ) { return false ; } } } ) ; }
use this for supporting nested projector instances
use this for supporting nested projector instances