{"action":"created","issue":{"url":"https://api.github.com/repos/CSSSR/csssr-project-template/issues/138","repository_url":"https://api.github.com/repos/CSSSR/csssr-project-template","labels_url":"https://api.github.com/repos/CSSSR/csssr-project-template/issues/138/labels{/name}","comments_url":"https://api.github.com/repos/CSSSR/csssr-project-template/issues/138/comments","events_url":"https://api.github.com/repos/CSSSR/csssr-project-template/issues/138/events","html_url":"https://github.com/CSSSR/csssr-project-template/issues/138","id":157526081,"number":138,"title":"Назойливая проблема с JavaScript","user":{"login":"jt3k","id":1261240,"avatar_url":"https://avatars.githubusercontent.com/u/1261240?v=3","gravatar_id":"","url":"https://api.github.com/users/jt3k","html_url":"https://github.com/jt3k","followers_url":"https://api.github.com/users/jt3k/followers","following_url":"https://api.github.com/users/jt3k/following{/other_user}","gists_url":"https://api.github.com/users/jt3k/gists{/gist_id}","starred_url":"https://api.github.com/users/jt3k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jt3k/subscriptions","organizations_url":"https://api.github.com/users/jt3k/orgs","repos_url":"https://api.github.com/users/jt3k/repos","events_url":"https://api.github.com/users/jt3k/events{/privacy}","received_events_url":"https://api.github.com/users/jt3k/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-30T15:50:00Z","updated_at":"2016-05-31T08:13:03Z","closed_at":null,"body":"- Ставим и запускаем темплейт\r\n- Идём в app/scripts/app.js и делаем ему содержимое в виде скобки `)` сохраняем, видим в терминале ошибку.\r\n  ```/private/tmp/csssr-project-template/app/scripts/app.js\r\n  1:1  error  Parsing error: Unexpected token\r\n\r\n✖ 1 problem (1 error, 0 warnings)\r\n\r\n[18:46:32] Error in 'scripts' task\r\n\r\n./app/scripts/app.js\r\nModule build failed: SyntaxError: /private/tmp/csssr-project-template/app/scripts/app.js: Unexpected token (1:0)\r\n> 1 | )\r\n    | ^\r\n  2 | \r\n    at Parser.pp.raise (/private/tmp/csssr-project-template/node_modules/babylon/lib/parser/location.js:22:13)\r\n\r\n... и ещё куча таких же Parser.pp ошибок \r\n  ```\r\n- Наш шаблон сломался. Изменения в js не приведут к его починке. Единственный способ сделаеть его вновь работающим - остановить gulp и сделать `npm start` снова.\r\n- Чтобы убедиться в том, что оно больше не работает ––> делаем содержимое app.js таким `console.log('lalala');`, сохраняем и проверяем дев-консоль браузера.  Там не появится 'lalala'\r\n"},"comment":{"url":"https://api.github.com/repos/CSSSR/csssr-project-template/issues/comments/222620805","html_url":"https://github.com/CSSSR/csssr-project-template/issues/138#issuecomment-222620805","issue_url":"https://api.github.com/repos/CSSSR/csssr-project-template/issues/138","id":222620805,"user":{"login":"iamstarkov","id":559321,"avatar_url":"https://avatars.githubusercontent.com/u/559321?v=3","gravatar_id":"","url":"https://api.github.com/users/iamstarkov","html_url":"https://github.com/iamstarkov","followers_url":"https://api.github.com/users/iamstarkov/followers","following_url":"https://api.github.com/users/iamstarkov/following{/other_user}","gists_url":"https://api.github.com/users/iamstarkov/gists{/gist_id}","starred_url":"https://api.github.com/users/iamstarkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamstarkov/subscriptions","organizations_url":"https://api.github.com/users/iamstarkov/orgs","repos_url":"https://api.github.com/users/iamstarkov/repos","events_url":"https://api.github.com/users/iamstarkov/events{/privacy}","received_events_url":"https://api.github.com/users/iamstarkov/received_events","type":"User","site_admin":false},"created_at":"2016-05-31T08:13:03Z","updated_at":"2016-05-31T08:13:03Z","body":"gulp-plumber?"}}
{"actor":{"display_login":"iamstarkov"}}