blaze.js
function (x) {
  if (typeof x === 'function') {
    return function () {
      var data = Blaze.getData();
      if (data == null)
        data = {};
      return x.apply(data, arguments);
    };
  }
  return x;
}
function (x) {
  if (typeof x === 'function') {
    return function () {
      var data = Blaze.getData();
      if (data == null)
        data = {};
      return x.apply(data, arguments);
    };
  }
  return x;
}
function ( x ) { if ( typeof x === 'function' ) { return function ( ) { var data = Blaze . getData ( ) ; if ( data == null ) data = { } ; return x . apply ( data , arguments ) ; } ; } return x ; }
If `x` is a function, binds the value of `this` for that function to the current data context.
If x is a function binds the value of this for that function to the current data context .