Solved and pushed.

Cheers.


On 22 May 2014 14:19, Sindre Sorhus <notifications@github.com> wrote:

> In labs/architecture-examples/somajs/js/views/main.js:
>
> > @@ -69,6 +74,17 @@
> >  			}
> >  		};
> >
> > +        // escape has been pressed, revert the value of the input
> > +        function cancelEditing(event, item) {
> > +            if (event.which === ESCAPE_KEY) {
> > +                event.currentTarget.value = item.title;
> > +                event.currentTarget.blur();
> > +                update();
> > +                return true;
> > +            }
> > +            else return false;
>
> braces
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/tastejs/todomvc/pull/901/files#r12948792>
> .
>



-- 
www.soundstep.com