Open GoogleCodeExporter opened 9 years ago
I vote for number 1 please:)
Original comment by lukasz.g...@gmail.com
on 29 Aug 2013 at 11:46
Ad 1 position percentage can be added like this:
if (t._onUpdate != null)
{
var args:Array = t._onUpdateArgs ? t._onUpdateArgs.concat() : [];
args.push(k);
t._onUpdate.apply(null, args);
}
in the callback for onUpdate always last argument will be this percentage
Original comment by lukasz.g...@gmail.com
on 29 Aug 2013 at 11:58
Interesting patch suggestion for an obvious missing information - would it
break existing code?
Original comment by philippe...@gmail.com
on 16 Sep 2013 at 9:11
Well it may break as when callback has no arguments defined then ArgumentError
(argument count mismatch), simple resolution is to advise to always use
callbacks with ...args argument.
Original comment by lukasz.g...@gmail.com
on 25 Sep 2013 at 7:25
Original issue reported on code.google.com by
System.g...@gmail.com
on 16 Oct 2010 at 3:46