add program.index.
This commit is contained in:
parent
7351c8a716
commit
a9fb228f23
|
@ -126,6 +126,7 @@ Program.bind = function(program) {
|
|||
|
||||
if (!~Program.instances.indexOf(program)) {
|
||||
Program.instances.push(program);
|
||||
program.index = Program.total;
|
||||
Program.total++;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue