list/list.js
function(key, handler, queue) {
		var translationHandler;
		if (isNaN(key)) {
			return onKeyValue.apply(this, arguments);
		}
		else {
			translationHandler = function() {
				handler(this[key]);
			};
			//!steal-remove-start
			if(process.env.NODE_ENV !== 'production') {
				Object.defineProperty(translationHandler, "name", {
					value: "translationHandler(" + key + ")::" + canReflect.getName(this) + ".onKeyValue('length'," + canReflect.getName(handler) + ")",
				});
			}
			//!steal-remove-end
			singleReference.set(handler, this, translationHandler, key);
			return onKeyValue.call(this, 'length',  translationHandler, queue);
		}
	}
function(key, handler, queue) {
		var translationHandler;
		if (isNaN(key)) {
			return onKeyValue.apply(this, arguments);
		}
		else {
			translationHandler = function() {
				handler(this[key]);
			};
			//!steal-remove-start
			if(process.env.NODE_ENV !== 'production') {
				Object.defineProperty(translationHandler, "name", {
					value: "translationHandler(" + key + ")::" + canReflect.getName(this) + ".onKeyValue('length'," + canReflect.getName(handler) + ")",
				});
			}
			//!steal-remove-end
			singleReference.set(handler, this, translationHandler, key);
			return onKeyValue.call(this, 'length',  translationHandler, queue);
		}
	}
function ( key , handler , queue ) { var translationHandler ; if ( isNaN ( key ) ) { return onKeyValue . apply ( this , arguments ) ; } else { translationHandler = function ( ) { handler ( this [ key ] ) ; } ; //!steal-remove-start if ( process . env . NODE_ENV !== 'production' ) { Object . defineProperty ( translationHandler , "name" , { value : "translationHandler(" + key + ")::" + canReflect . getName ( this ) + ".onKeyValue('length'," + canReflect . getName ( handler ) + ")" , } ) ; } //!steal-remove-end singleReference . set ( handler , this , translationHandler , key ) ; return onKeyValue . call ( this , 'length' , translationHandler , queue ) ; } }
Called for every reference to a property in a template if a key is a numerical index then translate to length event
Called for every reference to a property in a template if a key is a numerical index then translate to length event