moodle/lib/yuilib/3.18.1/anim-xy/anim-xy-min.js

2 lines
266 B
JavaScript

YUI.add("anim-xy",function(e,t){var n=Number;e.Anim.behaviors.xy={set:function(e,t,r,i,s,o,u){e._node.setXY([u(s,n(r[0]),n(i[0])-n(r[0]),o),u(s,n(r[1]),n(i[1])-n(r[1]),o)])},get:function(e){return e._node.getXY()}}},"3.18.1",{requires:["anim-base","node-screen"]});