nl_tokens: Re - rendering the App just means refreshing the statistics -- the rest of the app doesn t change .
pl_tokens: function ( ) { var completed = todos . completed ( ) . length ; var remaining = todos . remaining ( ) . length ; if ( todos . <mask> ) { this . $main . show ( ) ; this . $footer . show ( ) ; this . $footer . html ( this . template ( { completed : completed , remaining : remaining } ) ) ; this . $ ( '#filters li a' ) . removeClass ( 'selected' ) . filter ( '[href="#/' + ( common . TodoFilter || '' ) + '"]' ) . addClass ( 'selected' ) ; } else { this . $main . hide ( ) ; this . $footer . hide ( ) ; } this . allCheckbox . checked = ! remaining ; }