{"action":"opened","issue":{"url":"https://api.github.com/repos/parcel-bundler/parcel/issues/904","repository_url":"https://api.github.com/repos/parcel-bundler/parcel","labels_url":"https://api.github.com/repos/parcel-bundler/parcel/issues/904/labels{/name}","comments_url":"https://api.github.com/repos/parcel-bundler/parcel/issues/904/comments","events_url":"https://api.github.com/repos/parcel-bundler/parcel/issues/904/events","html_url":"https://github.com/parcel-bundler/parcel/issues/904","id":300706289,"number":904,"title":"🐛jquery code works partly","user":{"login":"deepure","id":1285533,"avatar_url":"https://avatars3.githubusercontent.com/u/1285533?v=4","gravatar_id":"","url":"https://api.github.com/users/deepure","html_url":"https://github.com/deepure","followers_url":"https://api.github.com/users/deepure/followers","following_url":"https://api.github.com/users/deepure/following{/other_user}","gists_url":"https://api.github.com/users/deepure/gists{/gist_id}","starred_url":"https://api.github.com/users/deepure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deepure/subscriptions","organizations_url":"https://api.github.com/users/deepure/orgs","repos_url":"https://api.github.com/users/deepure/repos","events_url":"https://api.github.com/users/deepure/events{/privacy}","received_events_url":"https://api.github.com/users/deepure/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-27T16:43:01Z","updated_at":"2018-02-27T16:43:01Z","closed_at":null,"author_association":"NONE","body":"### 💻 Code Sample\r\n```html\r\n<!DOCTYPE html>\r\n<html lang=\"en\">\r\n\r\n<head>\r\n    <meta charset=\"UTF-8\">\r\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\r\n    <meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\r\n    <title>Document</title>\r\n    <script src=\"index.js\"></script>\r\n</head>\r\n\r\n<body>\r\n    <a href=\"#\" id=\"test\">click me</a>\r\n</body>\r\n\r\n</html>\r\n```\r\n```js\r\nimport jquery from 'jquery'\r\nwindow.$ = window.jQuery = jquery\r\n$('#test').click(function (e) {\r\n  alert(123)\r\n})\r\n```\r\n\r\n$ is work in devtools ,but the click event does not work!\r\n\r\n### 🌍 Your Environment\r\n\r\n<!--- Include as many relevant details about the environment you experienced the bug in -->\r\n\r\n| Software         | Version(s) |\r\n| ---------------- | ---------- |\r\n| Parcel           | 1.5.1\r\n| Node             |v8.9.0\r\n| npm/Yarn         | npm\r\n| Operating System | macOS 10.13.3\r\n\r\n<!-- Love parcel? Please consider supporting our collective:\r\n👉  https://opencollective.com/parcel/donate -->"}}
{"actor":{"display_login":"deepure"}}