tinymce.full.js
function (scope, predicate) {
      var result = [];
      var dom = scope.dom();
      var children = Arr.map(dom.childNodes, Element.fromDom);

      Arr.each(children, function (x) {
        if (predicate(x)) {
          result = result.concat([ x ]);
        }
        result = result.concat(filterDescendants(x, predicate));
      });
      return result;
    }
function (scope, predicate) {
      var result = [];
      var dom = scope.dom();
      var children = Arr.map(dom.childNodes, Element.fromDom);

      Arr.each(children, function (x) {
        if (predicate(x)) {
          result = result.concat([ x ]);
        }
        result = result.concat(filterDescendants(x, predicate));
      });
      return result;
    }
function ( scope , predicate ) { var result = [ ] ; var dom = scope . dom ( ) ; var children = Arr . map ( dom . childNodes , Element . fromDom ) ; Arr . each ( children , function ( x ) { if ( predicate ( x ) ) { result = result . concat ( [ x ] ) ; } result = result . concat ( filterDescendants ( x , predicate ) ) ; } ) ; return result ; }
inlined sugars PredicateFilter.descendants for file size
inlined sugars PredicateFilter . descendants for file size