lib/relation.js
function(objects) {
      if (!_.isArray(objects)) {
        objects = [objects];
      }

      var change = new Parse.Op.Relation(objects, []);
      this.parent.set(this.key, change);
      this.targetClassName = change._targetClassName;
    }
function(objects) {
      if (!_.isArray(objects)) {
        objects = [objects];
      }

      var change = new Parse.Op.Relation(objects, []);
      this.parent.set(this.key, change);
      this.targetClassName = change._targetClassName;
    }
function ( objects ) { if ( ! _ . isArray ( objects ) ) { objects = [ objects ] ; } var change = new Parse . Op . Relation ( objects , [ ] ) ; this . parent . set ( this . key , change ) ; this . targetClassName = change . _targetClassName ; }
Adds a Parse.Object or an array of Parse.Objects to the relation.
@param {} objects The item or items to add.
Adds a Parse . Object or an array of Parse . Objects to the relation .