Pre-release
Adventure.js Docs Downloads
Score: 0 Moves: 0
// setIOVs.js
(function() {
	/*global adventurejs A*/ 
  "use strict";
  var p = adventurejs.Asset.prototype;	

  /**
   * <strong>setIOVs</strong> is a passthrough to send
   * multiple verbs to 
   * <code><a href="#method_setVerbSubscription">setVerbSubscription</a></code>
   * with indirect object specified.
   * @memberOf adventurejs.Asset
   * @method adventurejs.Asset#setIOVs
   * @param {String} verb
   * @param {Object} params
   */
  p.setIOVs = function Asset_setIOVs( verbs, params )
  {
    for( var i = 0; i < verbs.length; i++ )
    {
      this.setVerbSubscription( 'iov', verbs[i], params );
    }
  }
}());