lib/relations/has_many.js
function(name) {
  var before = 'before' + _.capitalize(name);
  var after = 'after' + _.capitalize(name);
  return function() {
    this[before].apply(this, arguments);
    this._super.apply(this, arguments);
    this[after].apply(this, arguments);
  };
}
function(name) {
  var before = 'before' + _.capitalize(name);
  var after = 'after' + _.capitalize(name);
  return function() {
    this[before].apply(this, arguments);
    this._super.apply(this, arguments);
    this[after].apply(this, arguments);
  };
}
function ( name ) { var before = 'before' + _ . capitalize ( name ) ; var after = 'after' + _ . capitalize ( name ) ; return function ( ) { this [ before ] . apply ( this , arguments ) ; this . _super . apply ( this , arguments ) ; this [ after ] . apply ( this , arguments ) ; } ; }
Notify of changes around a call to super.

@function HasMany~notify
@private
@param {String} name The suffix of the before/after methods to call.
@return {Function} A method that will call before & after methods.
Notify of changes around a call to super .