backbone.layoutmanager.js
function completeRender() {
        var console = window.console;
        var afterRender = root.afterRender;

        if (afterRender) {
          afterRender.call(root, root);
        }

        // Always emit an afterRender event.
        root.trigger("afterRender", root);

        // If there are multiple top level elements and `el: false` is used,
        // display a warning message and a stack trace.
        if (manager.noel && root.$el.length > 1) {
          // Do not display a warning while testing or if warning suppression
          // is enabled.
          if (_.isFunction(console.warn) && !root.suppressWarnings) {
            console.warn("`el: false` with multiple top level elements is " +
              "not supported.");

            // Provide a stack trace if available to aid with debugging.
            if (_.isFunction(console.trace)) {
              console.trace();
            }
          }
        }
      }
function completeRender() {
        var console = window.console;
        var afterRender = root.afterRender;

        if (afterRender) {
          afterRender.call(root, root);
        }

        // Always emit an afterRender event.
        root.trigger("afterRender", root);

        // If there are multiple top level elements and `el: false` is used,
        // display a warning message and a stack trace.
        if (manager.noel && root.$el.length > 1) {
          // Do not display a warning while testing or if warning suppression
          // is enabled.
          if (_.isFunction(console.warn) && !root.suppressWarnings) {
            console.warn("`el: false` with multiple top level elements is " +
              "not supported.");

            // Provide a stack trace if available to aid with debugging.
            if (_.isFunction(console.trace)) {
              console.trace();
            }
          }
        }
      }
function completeRender ( ) { var console = window . console ; var afterRender = root . afterRender ; if ( afterRender ) { afterRender . call ( root , root ) ; } // Always emit an afterRender event. root . trigger ( "afterRender" , root ) ; // If there are multiple top level elements and `el: false` is used, // display a warning message and a stack trace. if ( manager . noel && root . $el . length > 1 ) { // Do not display a warning while testing or if warning suppression // is enabled. if ( _ . isFunction ( console . warn ) && ! root . suppressWarnings ) { console . warn ( "`el: false` with multiple top level elements is " + "not supported." ) ; // Provide a stack trace if available to aid with debugging. if ( _ . isFunction ( console . trace ) ) { console . trace ( ) ; } } } }
Reusable function for triggering the afterRender callback and event.
Reusable function for triggering the afterRender callback and event .