dist/tulipan.cjs.js
/**
 * Apply a linker to a vm/element pair and capture the
 * directives created during the process.
 *
 * @param {Function} linker
 * @param {TurpialCore} vm
 */
Apply a linker to a vm/element pair and capture the
directives created during the process.

@param {Function} linker
@param {TurpialCore} vm
Apply a linker to a vm / element pair and capture the directives created during the process . @param { Function } linker @param { TurpialCore } vm
function linkAndCapture(linker, vm) {
  if ('development' === 'production') {}
  var originalDirCount = vm._directives.length;
  linker();
  var dirs = vm._directives.slice(originalDirCount);
  sortDirectives(dirs);
  for (var i = 0, l = dirs.length; i < l; i++) {
    dirs[i]._bind();
  }
  return dirs;
}
function linkAndCapture ( linker , vm ) { if ( 'development' === 'production' ) { } var originalDirCount = vm . _directives . length ; linker ( ) ; var dirs = vm . _directives . slice ( originalDirCount ) ; sortDirectives ( dirs ) ; for ( var i = 0 , l = dirs . length ; i < l ; i ++ ) { dirs [ i ] . _bind ( ) ; } return dirs ; }
Apply a linker to a vm/element pair and capture the
 directives created during the process.
Apply a linker to a vm / element pair and capture the directives created during the process .
/* istanbul ignore if */