{"action":"created","issue":{"url":"https://api.github.com/repos/CSSSR/csssr-project-template/issues/140","repository_url":"https://api.github.com/repos/CSSSR/csssr-project-template","labels_url":"https://api.github.com/repos/CSSSR/csssr-project-template/issues/140/labels{/name}","comments_url":"https://api.github.com/repos/CSSSR/csssr-project-template/issues/140/comments","events_url":"https://api.github.com/repos/CSSSR/csssr-project-template/issues/140/events","html_url":"https://github.com/CSSSR/csssr-project-template/issues/140","id":159111369,"number":140,"title":"Валидация форм jQuery и доступность функций извне","user":{"login":"riseremi","id":6680627,"avatar_url":"https://avatars.githubusercontent.com/u/6680627?v=3","gravatar_id":"","url":"https://api.github.com/users/riseremi","html_url":"https://github.com/riseremi","followers_url":"https://api.github.com/users/riseremi/followers","following_url":"https://api.github.com/users/riseremi/following{/other_user}","gists_url":"https://api.github.com/users/riseremi/gists{/gist_id}","starred_url":"https://api.github.com/users/riseremi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riseremi/subscriptions","organizations_url":"https://api.github.com/users/riseremi/orgs","repos_url":"https://api.github.com/users/riseremi/repos","events_url":"https://api.github.com/users/riseremi/events{/privacy}","received_events_url":"https://api.github.com/users/riseremi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-06-08T08:52:18Z","updated_at":"2016-06-08T09:21:32Z","closed_at":"2016-06-08T09:21:32Z","body":"Привет!\r\n\r\nЕсть страницы и скрипты на этом шаблоне, их перенесли в проект на Symfony. В нём есть какие-то свои приблуды для валидации форм (подключается плагин `jquery.validate.js` и генерируется куча левого кода). Если ставить плагин через npm и включать в сборку, он не доступен снаружи для сгенерированного кода в `<script></script>`. Это из-за webpack обертки, возможно. \r\n\r\nВопрос: можно ли заставить это всё работать? И в целом можно ли как-то сделать функции из собранного `app.min.js` доступными извне?\r\n\r\nUPD: погуглил на свежую голову. Возможно, это решение https://webpack.github.io/docs/library-and-externals.html\r\n\r\nЕсли кто-то уже решал это в настоящих проектах, отпишитесь, пожалуйста."},"comment":{"url":"https://api.github.com/repos/CSSSR/csssr-project-template/issues/comments/224535470","html_url":"https://github.com/CSSSR/csssr-project-template/issues/140#issuecomment-224535470","issue_url":"https://api.github.com/repos/CSSSR/csssr-project-template/issues/140","id":224535470,"user":{"login":"riseremi","id":6680627,"avatar_url":"https://avatars.githubusercontent.com/u/6680627?v=3","gravatar_id":"","url":"https://api.github.com/users/riseremi","html_url":"https://github.com/riseremi","followers_url":"https://api.github.com/users/riseremi/followers","following_url":"https://api.github.com/users/riseremi/following{/other_user}","gists_url":"https://api.github.com/users/riseremi/gists{/gist_id}","starred_url":"https://api.github.com/users/riseremi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riseremi/subscriptions","organizations_url":"https://api.github.com/users/riseremi/orgs","repos_url":"https://api.github.com/users/riseremi/repos","events_url":"https://api.github.com/users/riseremi/events{/privacy}","received_events_url":"https://api.github.com/users/riseremi/received_events","type":"User","site_admin":false},"created_at":"2016-06-08T09:21:32Z","updated_at":"2016-06-08T09:21:32Z","body":"Спасибо, изучу. Закрываю."}}
{"actor":{"display_login":"riseremi"}}