prana.js
function(next) {
        if (!extension[type] || typeof extension[type] !== 'function') {
          return next();
        }

        // Invoke type hook implemetation.
        extension[type](result, function(error, newItems) {
          if (error) {
            return next(error);
          }

          utils.extend(result, newItems || {});

          next();
        });
      }
function(next) {
        if (!extension[type] || typeof extension[type] !== 'function') {
          return next();
        }

        // Invoke type hook implemetation.
        extension[type](result, function(error, newItems) {
          if (error) {
            return next(error);
          }

          utils.extend(result, newItems || {});

          next();
        });
      }
function ( next ) { if ( ! extension [ type ] || typeof extension [ type ] !== 'function' ) { return next ( ) ; } // Invoke type hook implemetation. extension [ type ] ( result , function ( error , newItems ) { if ( error ) { return next ( error ) ; } utils . extend ( result , newItems || { } ) ; next ( ) ; } ) ; }
The callback that will receive and process.
The callback that will receive and process .