src/Binding.js
function (subpath) {
    if (!this._sharedInternals.metaBinding) {
      var metaBinding = Binding.init(Imm.Map());
      linkMeta(this, metaBinding);
      this._sharedInternals.metaBinding = metaBinding;
    }

    var effectiveSubpath = subpath ? Util.joinPaths([Util.META_NODE], asArrayPath(subpath)) : [Util.META_NODE];
    var thisPath = this.getPath();
    var absolutePath = thisPath.length > 0 ? Util.joinPaths(thisPath, effectiveSubpath) : effectiveSubpath;
    return this._sharedInternals.metaBinding.sub(absolutePath);
  }
function (subpath) {
    if (!this._sharedInternals.metaBinding) {
      var metaBinding = Binding.init(Imm.Map());
      linkMeta(this, metaBinding);
      this._sharedInternals.metaBinding = metaBinding;
    }

    var effectiveSubpath = subpath ? Util.joinPaths([Util.META_NODE], asArrayPath(subpath)) : [Util.META_NODE];
    var thisPath = this.getPath();
    var absolutePath = thisPath.length > 0 ? Util.joinPaths(thisPath, effectiveSubpath) : effectiveSubpath;
    return this._sharedInternals.metaBinding.sub(absolutePath);
  }
function ( subpath ) { if ( ! this . _sharedInternals . metaBinding ) { var metaBinding = Binding . init ( Imm . Map ( ) ) ; linkMeta ( this , metaBinding ) ; this . _sharedInternals . metaBinding = metaBinding ; } var effectiveSubpath = subpath ? Util . joinPaths ( [ Util . META_NODE ] , asArrayPath ( subpath ) ) : [ Util . META_NODE ] ; var thisPath = this . getPath ( ) ; var absolutePath = thisPath . length > 0 ? Util . joinPaths ( thisPath , effectiveSubpath ) : effectiveSubpath ; return this . _sharedInternals . metaBinding . sub ( absolutePath ) ; }
Get binding's meta binding.
@param {String|Array} [subpath] subpath as a dot-separated string or an array of strings and numbers;
b.meta('path') is equivalent to b.meta().sub('path')
@returns {Binding} meta binding or undefined
Get binding s meta binding .