{"comment":{"url":"https://api.github.com/repos/htmlacademy-javascript/243757-kekstagram/comments/19770780","html_url":"https://github.com/htmlacademy-javascript/243757-kekstagram/commit/76e10ea73616e8f7433b45925c18a238b56f3748#commitcomment-19770780","id":19770780,"user":{"login":"plakhcode","id":22655948,"avatar_url":"https://avatars.githubusercontent.com/u/22655948?v=3","gravatar_id":"","url":"https://api.github.com/users/plakhcode","html_url":"https://github.com/plakhcode","followers_url":"https://api.github.com/users/plakhcode/followers","following_url":"https://api.github.com/users/plakhcode/following{/other_user}","gists_url":"https://api.github.com/users/plakhcode/gists{/gist_id}","starred_url":"https://api.github.com/users/plakhcode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plakhcode/subscriptions","organizations_url":"https://api.github.com/users/plakhcode/orgs","repos_url":"https://api.github.com/users/plakhcode/repos","events_url":"https://api.github.com/users/plakhcode/events{/privacy}","received_events_url":"https://api.github.com/users/plakhcode/received_events","type":"User","site_admin":false},"position":5,"line":157,"path":"src/js/upload.js","commit_id":"76e10ea73616e8f7433b45925c18a238b56f3748","created_at":"2016-11-10T13:00:03Z","updated_at":"2016-11-10T13:00:03Z","body":"Прости, не понял. Зависимость я объявляю в начале, но использовать Resizer я должен в строке 158.\r\n\r\nЧто должно быть на месте многоточия если этот define в начале?\r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\nНикогда слышишь, никогда так не пиши)) define или require должен быть только один! Все зависимости объявляешь в самом начале, иначе потом не разберешься.\r\n\r\ndefine(['./resizer'], function(Resizer) {\r\n    return function() {\r\n       ...\r\n    };\r\n});\r\n\r\n—\r\nYou are receiving this because you authored the thread.\r\nReply to this email directly, view it on GitHub <https://github.com/htmlacademy-javascript/243757-kekstagram/commit/76e10ea73616e8f7433b45925c18a238b56f3748#commitcomment-19770714> , or mute the thread <https://github.com/notifications/unsubscribe-auth/AVmzzNzvCehfMLnFEclHXDf3TJ7OmHbAks5q8xOrgaJpZM4KuoMY> .  <https://github.com/notifications/beacon/AVmzzBR9WHKD7v8uzoiMJo1C4F-PnziQks5q8xOrgaJpZM4KuoMY.gif> \r\n\r\n"}}
{"actor":{"display_login":"plakhcode"}}