rem: /** * Returns current value of the attribute. * @param {String} attr The name of the attribute. * @return {Number} val The current value of the attribute. */ 
context: (function() {   YAHOO.util.Scroll = function(el, attributes, duration,  method) {      if (el) { // dont break existing subclasses not using YAHOO.extend         YAHOO.util.Scroll.superclass.constructor.call(this, el, attributes, duration, method);      }   };   YAHOO.extend(YAHOO.util.Scroll, YAHOO.util.ColorAnim);   // shorthand   var Y = YAHOO.util;   var superclass = Y.Scroll.superclass;   var proto = Y.Scroll.prototype;   /**    * toString method    * @return {String} string represenation of anim obj    */   proto.toString = function() {      var el = this.getEl();      var id = el.id || el.tagName;      return ("Scroll " + id);   };   /**    * Returns the value computed by the animation's "method".    * @param {String} attr The name of the attribute.    * @param {Number} start The value this attribute should start from for this animation.    * @param {Number} end  The value this attribute should end at for this animation.    * @return {Number} The Value to be applied to the attribute.    */   proto.doMethod = function(attr, start, end) {      var val = null;      if (attr == 'scroll') {         val = [            this.method(this.currentFrame, start[0], end[0] - start[0], this.totalFrames),            this.method(this.currentFrame, start[1], end[1] - start[1], this.totalFrames)         ];      } else {         val = superclass.doMethod.call(this, attr, start, end);      }      return val;   };   /**    * Returns current value of the attribute.    * @param {String} attr The name of the attribute.    * @return {Number} val The current value of the attribute.    */   proto.getAttribute = function(attr) {      var val = null;      var el = this.getEl();      if (attr == 'scroll') {         val = [ el.scrollLeft, el.scrollTop ];      } else {         val = superclass.getAttribute.call(this, attr);      }      return val;   };   /**    * Applies a value to an attribute    * @param {String} attr The name of the attribute.    * @param {Number} val The value to be applied to the attribute.    * @param {String} unit The unit ('px', '%', etc.) of the value.    */   proto.setAttribute = function(attr, val, unit) {      var el = this.getEl();      if (attr == 'scroll') {         el.scrollLeft = val[0];         el.scrollTop = val[1];      } else {         superclass.setAttribute.call(this, attr, val, unit);      }   };})();
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/animation-debug.js/clean/www/resources/yui/animation/animation-debug.js