equal
deleted
inserted
replaced
22 return fn.call(obj, args); |
22 return fn.call(obj, args); |
23 } |
23 } |
24 } |
24 } |
25 |
25 |
26 /* convert a time to a percentage in the media */ |
26 /* convert a time to a percentage in the media */ |
27 IriSP.timeToPourcent = function(time,timetotal){ |
27 IriSP.timeToPourcent = function(time, timetotal){ |
28 return (parseInt(Math.round(time/timetotal*100))); |
28 return (parseInt(Math.round(time/timetotal*100))); |
29 }; |
29 }; |
30 |
30 |
31 /* for ie compatibility |
31 /* for ie compatibility |
32 if (Object.prototype.__defineGetter__&&!Object.defineProperty) { |
32 if (Object.prototype.__defineGetter__&&!Object.defineProperty) { |