{"action":"created","issue":{"url":"https://api.github.com/repos/tastejs/todomvc/issues/1297","labels_url":"https://api.github.com/repos/tastejs/todomvc/issues/1297/labels{/name}","comments_url":"https://api.github.com/repos/tastejs/todomvc/issues/1297/comments","events_url":"https://api.github.com/repos/tastejs/todomvc/issues/1297/events","html_url":"https://github.com/tastejs/todomvc/pull/1297","id":76344432,"number":1297,"title":"Add jsblocks","user":{"login":"astoilkov","id":884810,"avatar_url":"https://avatars.githubusercontent.com/u/884810?v=3","gravatar_id":"","url":"https://api.github.com/users/astoilkov","html_url":"https://github.com/astoilkov","followers_url":"https://api.github.com/users/astoilkov/followers","following_url":"https://api.github.com/users/astoilkov/following{/other_user}","gists_url":"https://api.github.com/users/astoilkov/gists{/gist_id}","starred_url":"https://api.github.com/users/astoilkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astoilkov/subscriptions","organizations_url":"https://api.github.com/users/astoilkov/orgs","repos_url":"https://api.github.com/users/astoilkov/repos","events_url":"https://api.github.com/users/astoilkov/events{/privacy}","received_events_url":"https://api.github.com/users/astoilkov/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tastejs/todomvc/labels/new%20app","name":"new app","color":"02e10c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2015-05-14T12:32:02Z","updated_at":"2015-06-07T08:00:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/tastejs/todomvc/pulls/1297","html_url":"https://github.com/tastejs/todomvc/pull/1297","diff_url":"https://github.com/tastejs/todomvc/pull/1297.diff","patch_url":"https://github.com/tastejs/todomvc/pull/1297.patch"},"body":"[jsblocks](http://jsblocks.com) have been developed for the past couple of years. Two weeks ago it was released and collected more than 800 stars. You could take a look at some of the advantages of the project [here](http://jsblocks.com/learn/introduction-why-jsblocks). Some of the things include:\r\n* Performance\r\n* Debugging exprience\r\n* Server-side rendering\r\n\r\nTest results:\r\n\r\n```\r\nTodoMVC - blocks\r\n  When page is initially opened\r\n    √ should focus on the todo input field\r\n  No Todos\r\n    √ should hide #main and #footer (109ms)\r\n  New Todo\r\n    √ should allow me to add todo items (459ms)\r\n    √ should clear text input field when an item is added (288ms)\r\n    √ should append new items to the bottom of the list (570ms)\r\n    √ should trim text input (262ms)\r\n    √ should show #main and #footer when items added (253ms)\r\n  Mark all as completed\r\n    √ should allow me to mark all items as completed (610ms)\r\n    √ should allow me to clear the completion state of all items (687ms)\r\n    √ complete all checkbox should update state when items are completed / cleared (739ms)\r\n  Item\r\n    √ should allow me to mark items as complete (575ms)\r\n    √ should allow me to un-mark items as complete (585ms)\r\n    √ should allow me to edit an item (942ms)\r\n    √ should show the remove button on hover\r\n  Editing\r\n    √ should hide other controls when editing (672ms)\r\n    √ should save edits on enter (867ms)\r\n    √ should save edits on blur (942ms)\r\n    √ should trim entered text (868ms)\r\n    √ should remove the item if an empty text string was entered (800ms)\r\n    √ should cancel edits on escape (939ms)\r\n  Counter\r\n    √ should display the current number of todo items (399ms)\r\n  Clear completed button\r\n    √ should display the correct text (571ms)\r\n    √ should remove completed items when clicked (865ms)\r\n    √ should be hidden when there are no items that are completed (615ms)\r\n  Persistence\r\n    √ should persist its data (854ms)\r\n  Routing\r\n    √ should allow me to display active items (633ms)\r\n    √ should respect the back button (892ms)\r\n    √ should allow me to display completed items (616ms)\r\n    √ should allow me to display all items (776ms)\r\n    √ should highlight the currently applied filter (678ms)\r\n\r\n\r\n30 passing (3m)\r\n```"},"comment":{"url":"https://api.github.com/repos/tastejs/todomvc/issues/comments/109715329","html_url":"https://github.com/tastejs/todomvc/pull/1297#issuecomment-109715329","issue_url":"https://api.github.com/repos/tastejs/todomvc/issues/1297","id":109715329,"user":{"login":"arthurvr","id":6025224,"avatar_url":"https://avatars.githubusercontent.com/u/6025224?v=3","gravatar_id":"","url":"https://api.github.com/users/arthurvr","html_url":"https://github.com/arthurvr","followers_url":"https://api.github.com/users/arthurvr/followers","following_url":"https://api.github.com/users/arthurvr/following{/other_user}","gists_url":"https://api.github.com/users/arthurvr/gists{/gist_id}","starred_url":"https://api.github.com/users/arthurvr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arthurvr/subscriptions","organizations_url":"https://api.github.com/users/arthurvr/orgs","repos_url":"https://api.github.com/users/arthurvr/repos","events_url":"https://api.github.com/users/arthurvr/events{/privacy}","received_events_url":"https://api.github.com/users/arthurvr/received_events","type":"User","site_admin":false},"created_at":"2015-06-07T08:00:44Z","updated_at":"2015-06-07T08:00:44Z","body":"> I was not able to replicate that. Can you provide steps to do it?\r\n\r\nIf this helps:\r\n\r\n1. Go to the todo app in latest Chrome\r\n2. Clear all the todo's\r\n3. Enter two items\r\n4. Double click the first one to edit it\r\n5. Clear out everything in the textbox\r\n6. Add a bunch of whitespace (spaces)\r\n7. Click out of the textbox to make it lose focus\r\n8. You've got a todo item that only exists out of whitespace\r\n\r\nThis does not seem to happen every time I try it. Don't have much time ATM but will dig in. Following error in the console:\r\n\r\n![developer_tools_-_http___localhost_3000_examples_jsblocks__and_jsblocks_ _todomvc](https://cloud.githubusercontent.com/assets/6025224/8023115/0a837c74-0cfc-11e5-8d60-7f4856534e47.png)\r\n"}}