site/examples/todo/js/todos/todos.js
function (el) {
			var toggle = el.prop('checked');
			can.each(this.options.todos, function (todo) {
				todo.attr('complete', toggle).save();
			});
		}
function (el) {
			var toggle = el.prop('checked');
			can.each(this.options.todos, function (todo) {
				todo.attr('complete', toggle).save();
			});
		}
function ( el ) { var toggle = el . prop ( 'checked' ) ; can . each ( this . options . todos , function ( todo ) { todo . attr ( 'complete' , toggle ) . save ( ) ; } ) ; }
Listen for toggle all completed Todos
Listen for toggle all completed Todos