12 lines
930 B
JavaScript
Executable File
12 lines
930 B
JavaScript
Executable File
/*!
|
|
* VERSION: 0.2.0
|
|
* DATE: 2013-07-10
|
|
* UPDATES AND DOCS AT: http://www.greensock.com
|
|
*
|
|
* @license Copyright (c) 2008-2013, GreenSock. All rights reserved.
|
|
* This work is subject to the terms at http://www.greensock.com/terms_of_use.html or for
|
|
* Club GreenSock members, the software agreement that was issued with your membership.
|
|
*
|
|
* @author: Jack Doyle, jack@greensock.com
|
|
*/
|
|
(window._gsQueue||(window._gsQueue=[])).push(function(){"use strict";window._gsDefine.plugin({propName:"attr",API:2,init:function(t,e){var i;if("function"!=typeof t.setAttribute)return!1;this._target=t,this._proxy={};for(i in e)this._addTween(this._proxy,i,parseFloat(t.getAttribute(i)),e[i],i)&&this._overwriteProps.push(i);return!0},set:function(t){this._super.setRatio.call(this,t);for(var e,i=this._overwriteProps,s=i.length;--s>-1;)e=i[s],this._target.setAttribute(e,this._proxy[e]+"")}})}),window._gsDefine&&window._gsQueue.pop()(); |