code: function warnOnDeprecation( oldMethod, newMethod ) {
  	return function() {
  		if ( console.warn || console.log ) {
  			var msg = "Warning, the " + oldMethod + " method has been deprecated. Please use " + newMethod + " instead.";
  			if ( console.warn ) {
  				console.warn( msg );
  			} else {
  				console.log( msg );
  			}
  		}
  		return SubscriptionDefinition.prototype[ newMethod ].apply( this, arguments );
  	};
  }
docs: Backwards Compatibility WARNING: these will be removed after the next version /* istanbul ignore next