@@ -383,18 +383,6 @@ CompilerProto.bindDirective = function (directive) {
383
383
binding . instances . push ( directive )
384
384
directive . binding = binding
385
385
386
- // for newly inserted sub-VMs (repeat items), need to bind deps
387
- // because they didn't get processed when the parent compiler
388
- // was binding dependencies.
389
- var i , dep , deps = binding . contextDeps
390
- if ( deps ) {
391
- i = deps . length
392
- while ( i -- ) {
393
- dep = compiler . bindings [ deps [ i ] ]
394
- dep . subs . push ( directive )
395
- }
396
- }
397
-
398
386
var value = binding . value
399
387
// invoke bind hook if exists
400
388
if ( directive . bind ) {
@@ -539,27 +527,6 @@ CompilerProto.markComputed = function (binding) {
539
527
this . computed . push ( binding )
540
528
}
541
529
542
- /**
543
- * Process subscriptions for computed properties that has
544
- * dynamic context dependencies
545
- */
546
- CompilerProto . bindContexts = function ( bindings ) {
547
- var i = bindings . length , j , k , binding , depKey , dep , ins
548
- while ( i -- ) {
549
- binding = bindings [ i ]
550
- j = binding . contextDeps . length
551
- while ( j -- ) {
552
- depKey = binding . contextDeps [ j ]
553
- k = binding . instances . length
554
- while ( k -- ) {
555
- ins = binding . instances [ k ]
556
- dep = ins . compiler . bindings [ depKey ]
557
- dep . subs . push ( ins )
558
- }
559
- }
560
- }
561
- }
562
-
563
530
/**
564
531
* Retrive an option from the compiler
565
532
*/
0 commit comments