{"action":"created","issue":{"url":"https://api.github.com/repos/knockout/knockout/issues/2372","repository_url":"https://api.github.com/repos/knockout/knockout","labels_url":"https://api.github.com/repos/knockout/knockout/issues/2372/labels{/name}","comments_url":"https://api.github.com/repos/knockout/knockout/issues/2372/comments","events_url":"https://api.github.com/repos/knockout/knockout/issues/2372/events","html_url":"https://github.com/knockout/knockout/issues/2372","id":315929661,"number":2372,"title":"Uncaught Error: Cannot find closing comment tag to match:  ko foreach: tasks","user":{"login":"LoganDark","id":4723091,"avatar_url":"https://avatars1.githubusercontent.com/u/4723091?v=4","gravatar_id":"","url":"https://api.github.com/users/LoganDark","html_url":"https://github.com/LoganDark","followers_url":"https://api.github.com/users/LoganDark/followers","following_url":"https://api.github.com/users/LoganDark/following{/other_user}","gists_url":"https://api.github.com/users/LoganDark/gists{/gist_id}","starred_url":"https://api.github.com/users/LoganDark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LoganDark/subscriptions","organizations_url":"https://api.github.com/users/LoganDark/orgs","repos_url":"https://api.github.com/users/LoganDark/repos","events_url":"https://api.github.com/users/LoganDark/events{/privacy}","received_events_url":"https://api.github.com/users/LoganDark/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-04-19T15:31:30Z","updated_at":"2018-04-19T17:33:45Z","closed_at":null,"author_association":"NONE","body":"I'm creating my own 'tasks' example, just as a test.\r\n\r\nHere's my code:\r\n\r\n```html\r\n<!doctype html>\r\n<html>\r\n\t<head>\r\n\t\t<meta charset=\"utf-8\">\r\n\t\t<style type=\"text/css\">\r\n\t\t\t/* put CSS here */\r\n\t\t</style>\r\n\t\t<script src=\"https://code.jquery.com/jquery-3.2.1.min.js\"></script>\r\n\t\t<!--script src=\"https://code.jquery.com/ui/1.12.1/jquery-ui.min.js\"></script-->\r\n\t\t<script src=\"https://cdn.rawgit.com/knockout/knockout/gh-pages/downloads/knockout-3.4.2.js\"></script>\r\n\t\t<script type=\"text/javascript\">\r\n\t\t\t$(function($) {\r\n\t\t\t\tfunction ViewModel() {\r\n\t\t\t\t\tthis.tasks = ko.observableArray([\r\n\t\t\t\t\t\t'Task 1',\r\n\t\t\t\t\t\t'Task 2',\r\n\t\t\t\t\t\t'Task 3'\r\n\t\t\t\t\t])\r\n\t\t\t\t\t\r\n\t\t\t\t\tthis.addTask = function() {\r\n\t\t\t\t\t\tthis.tasks.push('New task')\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\tthis.removeTask = function(task) {\r\n\t\t\t\t\t\tthis.tasks.remove(task)\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tko.applyBindings(new ViewModel())\r\n\t\t\t})\r\n\t\t</script>\r\n\t</head>\r\n\t<body>\r\n\t\t<table>\r\n\t\t\t<!-- ko foreach: tasks -->\r\n\t\t\t<tr>\r\n\t\t\t\t<td data-bind=\"text: $data\"></td>\r\n\t\t\t\t<td>\r\n\t\t\t\t\t<button data-bind=\"click: $parent.removeTask\">Remove</button>\r\n\t\t\t\t</td>\r\n\t\t\t</tr>\r\n\t\t\t<!-- /ko -->\r\n\t\t\t<tr>\r\n\t\t\t\t<td colspan=\"2\">\r\n\t\t\t\t\t<button data-bind=\"click: addTask\">Add task</button>\r\n\t\t\t\t</td>\r\n\t\t\t</tr>\r\n\t\t</table>\r\n\t</body>\r\n</html>\r\n```\r\n\r\nHere's my error:\r\n\r\n```\r\nUncaught Error: Cannot find closing comment tag to match:  ko foreach: tasks \r\n    at d (knockout-3.4.2.js:63)\r\n    at e (knockout-3.4.2.js:63)\r\n    at Object.nextSibling (knockout-3.4.2.js:65)\r\n    at g (knockout-3.4.2.js:70)\r\n    at h (knockout-3.4.2.js:70)\r\n    at g (knockout-3.4.2.js:70)\r\n    at h (knockout-3.4.2.js:70)\r\n    at Object.a.Ub (knockout-3.4.2.js:76)\r\n    at HTMLDocument.<anonymous> (blob:https://html.logandark.net/63a3a2c3-7b9f-457e-8427-160fedc95802:29)\r\n    at j (jquery-3.2.1.min.js:2)\r\n```\r\n\r\nThis makes no sense, because there is **clearly** a closing comment. You can't miss it."},"comment":{"url":"https://api.github.com/repos/knockout/knockout/issues/comments/382818786","html_url":"https://github.com/knockout/knockout/issues/2372#issuecomment-382818786","issue_url":"https://api.github.com/repos/knockout/knockout/issues/2372","id":382818786,"user":{"login":"LoganDark","id":4723091,"avatar_url":"https://avatars1.githubusercontent.com/u/4723091?v=4","gravatar_id":"","url":"https://api.github.com/users/LoganDark","html_url":"https://github.com/LoganDark","followers_url":"https://api.github.com/users/LoganDark/followers","following_url":"https://api.github.com/users/LoganDark/following{/other_user}","gists_url":"https://api.github.com/users/LoganDark/gists{/gist_id}","starred_url":"https://api.github.com/users/LoganDark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LoganDark/subscriptions","organizations_url":"https://api.github.com/users/LoganDark/orgs","repos_url":"https://api.github.com/users/LoganDark/repos","events_url":"https://api.github.com/users/LoganDark/events{/privacy}","received_events_url":"https://api.github.com/users/LoganDark/received_events","type":"User","site_admin":false},"created_at":"2018-04-19T17:33:45Z","updated_at":"2018-04-19T17:33:45Z","author_association":"NONE","body":"How though? Can you explain _why_ it works?"}}
{"actor":{"display_login":"LoganDark"}}