themis/web/js/lib/aui.js
/**
     * Creates a new mutation observer for listening to Skate definitions for the
     * document.
     *
     * @param {Element} root The element to observe.
     *
     * @returns {MutationObserver}
     */
Creates a new mutation observer for listening to Skate definitions for the
document.

@param {Element} root The element to observe.


Creates a new mutation observer for listening to Skate definitions for the document . @param { Element } root The element to observe .
function createDocumentObserver() {
      var observer = new window.MutationObserver(documentObserverHandler);
      observer.observe(document, {
        childList: true,
        subtree: true
      });
      return observer;
    }
function createDocumentObserver ( ) { var observer = new window . MutationObserver ( documentObserverHandler ) ; observer . observe ( document , { childList : true , subtree : true } ) ; return observer ; }
Creates a new mutation observer for listening to Skate definitions for the
 document.
Creates a new mutation observer for listening to Skate definitions for the document .
// Observe after the DOM content has loaded.