src/cm/media/js/lib/yui/yui_3.10.3/build/anim-xy/anim-xy-coverage.js
author gibus
Tue, 16 Jul 2013 14:29:46 +0200
changeset 525 89ef5ed3c48b
permissions -rw-r--r--
Upgrades to yui 3.10.3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
525
89ef5ed3c48b Upgrades to yui 3.10.3
gibus
parents:
diff changeset
     1
/*
89ef5ed3c48b Upgrades to yui 3.10.3
gibus
parents:
diff changeset
     2
YUI 3.10.3 (build 2fb5187)
89ef5ed3c48b Upgrades to yui 3.10.3
gibus
parents:
diff changeset
     3
Copyright 2013 Yahoo! Inc. All rights reserved.
89ef5ed3c48b Upgrades to yui 3.10.3
gibus
parents:
diff changeset
     4
Licensed under the BSD License.
89ef5ed3c48b Upgrades to yui 3.10.3
gibus
parents:
diff changeset
     5
http://yuilibrary.com/license/
89ef5ed3c48b Upgrades to yui 3.10.3
gibus
parents:
diff changeset
     6
*/
89ef5ed3c48b Upgrades to yui 3.10.3
gibus
parents:
diff changeset
     7
89ef5ed3c48b Upgrades to yui 3.10.3
gibus
parents:
diff changeset
     8
if (typeof __coverage__ === 'undefined') { __coverage__ = {}; }
89ef5ed3c48b Upgrades to yui 3.10.3
gibus
parents:
diff changeset
     9
if (!__coverage__['build/anim-xy/anim-xy.js']) {
89ef5ed3c48b Upgrades to yui 3.10.3
gibus
parents:
diff changeset
    10
   __coverage__['build/anim-xy/anim-xy.js'] = {"path":"build/anim-xy/anim-xy.js","s":{"1":0,"2":0,"3":0,"4":0,"5":0},"b":{},"f":{"1":0,"2":0,"3":0},"fnMap":{"1":{"name":"(anonymous_1)","line":1,"loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":38}}},"2":{"name":"(anonymous_2)","line":13,"loc":{"start":{"line":13,"column":9},"end":{"line":13,"column":62}}},"3":{"name":"(anonymous_3)","line":19,"loc":{"start":{"line":19,"column":9},"end":{"line":19,"column":24}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":26,"column":57}},"2":{"start":{"line":10,"column":0},"end":{"line":10,"column":17}},"3":{"start":{"line":12,"column":0},"end":{"line":22,"column":2}},"4":{"start":{"line":14,"column":8},"end":{"line":17,"column":11}},"5":{"start":{"line":20,"column":8},"end":{"line":20,"column":34}}},"branchMap":{},"code":["(function () { YUI.add('anim-xy', function (Y, NAME) {","","/**"," * Adds support for the <code>xy</code> property in <code>from</code> and"," * <code>to</code> attributes."," * @module anim"," * @submodule anim-xy"," */","","var NUM = Number;","","Y.Anim.behaviors.xy = {","    set: function(anim, att, from, to, elapsed, duration, fn) {","        anim._node.setXY([","            fn(elapsed, NUM(from[0]), NUM(to[0]) - NUM(from[0]), duration),","            fn(elapsed, NUM(from[1]), NUM(to[1]) - NUM(from[1]), duration)","        ]);","    },","    get: function(anim) {","        return anim._node.getXY();","    }","};","","","","}, '3.10.3', {\"requires\": [\"anim-base\", \"node-screen\"]});","","}());"]};
89ef5ed3c48b Upgrades to yui 3.10.3
gibus
parents:
diff changeset
    11
}
89ef5ed3c48b Upgrades to yui 3.10.3
gibus
parents:
diff changeset
    12
var __cov_vcW0xg39Nuqj8fkBcEjsLQ = __coverage__['build/anim-xy/anim-xy.js'];
89ef5ed3c48b Upgrades to yui 3.10.3
gibus
parents:
diff changeset
    13
__cov_vcW0xg39Nuqj8fkBcEjsLQ.s['1']++;YUI.add('anim-xy',function(Y,NAME){__cov_vcW0xg39Nuqj8fkBcEjsLQ.f['1']++;__cov_vcW0xg39Nuqj8fkBcEjsLQ.s['2']++;var NUM=Number;__cov_vcW0xg39Nuqj8fkBcEjsLQ.s['3']++;Y.Anim.behaviors.xy={set:function(anim,att,from,to,elapsed,duration,fn){__cov_vcW0xg39Nuqj8fkBcEjsLQ.f['2']++;__cov_vcW0xg39Nuqj8fkBcEjsLQ.s['4']++;anim._node.setXY([fn(elapsed,NUM(from[0]),NUM(to[0])-NUM(from[0]),duration),fn(elapsed,NUM(from[1]),NUM(to[1])-NUM(from[1]),duration)]);},get:function(anim){__cov_vcW0xg39Nuqj8fkBcEjsLQ.f['3']++;__cov_vcW0xg39Nuqj8fkBcEjsLQ.s['5']++;return anim._node.getXY();}};},'3.10.3',{'requires':['anim-base','node-screen']});