lib/view/entry.js
function init(view, entry) {  // {{{2
/**
 * Socket constructor
 *
 * @param view {Object} View
 * @param entry {Object} Entry
 *
 * @method constructor
 */

  this.view = view;
  view.socket = this;

  if (entry) {
    return entry.track(this);
  }

  return O.data.trackEntry(view.demand.ident, this);
}
function init(view, entry) {  // {{{2
/**
 * Socket constructor
 *
 * @param view {Object} View
 * @param entry {Object} Entry
 *
 * @method constructor
 */

  this.view = view;
  view.socket = this;

  if (entry) {
    return entry.track(this);
  }

  return O.data.trackEntry(view.demand.ident, this);
}
}}}1 Public {{{1