example/js/svg.js
function(o, ease, delay){

      if(typeof o == 'object'){
        ease = o.ease
        delay = o.delay
        o = o.duration
      }

      var situation = new SVG.Situation({
        duration: o || 1000,
        delay: delay || 0,
        ease: SVG.easing[ease || '-'] || ease
      })

      this.queue(situation)

      return this
    }
function(o, ease, delay){

      if(typeof o == 'object'){
        ease = o.ease
        delay = o.delay
        o = o.duration
      }

      var situation = new SVG.Situation({
        duration: o || 1000,
        delay: delay || 0,
        ease: SVG.easing[ease || '-'] || ease
      })

      this.queue(situation)

      return this
    }
function ( o , ease , delay ) { if ( typeof o == 'object' ) { ease = o . ease delay = o . delay o = o . duration } var situation = new SVG . Situation ( { duration : o || 1000 , delay : delay || 0 , ease : SVG . easing [ ease || '-' ] || ease } ) this . queue ( situation ) return this }
sets or returns the target of this animation
@param o object || number In case of Object it holds all parameters. In case of number its the duration of the animation
@param ease function || string Function which should be used for easing or easing keyword
@param delay Number indicating the delay before the animation starts
@return target || this
sets or returns the target of this animation