{"action":"created","issue":{"url":"https://api.github.com/repos/caike/jQuery-Simple-Timer/issues/26","repository_url":"https://api.github.com/repos/caike/jQuery-Simple-Timer","labels_url":"https://api.github.com/repos/caike/jQuery-Simple-Timer/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/caike/jQuery-Simple-Timer/issues/26/comments","events_url":"https://api.github.com/repos/caike/jQuery-Simple-Timer/issues/26/events","html_url":"https://github.com/caike/jQuery-Simple-Timer/issues/26","id":191160234,"number":26,"title":"\"jQuery is not defined\" when using the NPM installation method.","user":{"login":"JulsWlf","id":12620946,"avatar_url":"https://avatars.githubusercontent.com/u/12620946?v=3","gravatar_id":"","url":"https://api.github.com/users/JulsWlf","html_url":"https://github.com/JulsWlf","followers_url":"https://api.github.com/users/JulsWlf/followers","following_url":"https://api.github.com/users/JulsWlf/following{/other_user}","gists_url":"https://api.github.com/users/JulsWlf/gists{/gist_id}","starred_url":"https://api.github.com/users/JulsWlf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JulsWlf/subscriptions","organizations_url":"https://api.github.com/users/JulsWlf/orgs","repos_url":"https://api.github.com/users/JulsWlf/repos","events_url":"https://api.github.com/users/JulsWlf/events{/privacy}","received_events_url":"https://api.github.com/users/JulsWlf/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-23T00:16:21Z","updated_at":"2016-11-28T21:53:41Z","closed_at":"2016-11-28T21:53:41Z","body":"I followed the NPM installation method:\r\n```\r\n\"use strict\";\r\nlet $ = require(\"jquery\");\r\nrequire(\"jquery-simple-timer\")($);\r\n\r\n$(() => {\r\n  $('.timer').startTimer();\r\n});\r\n```\r\n\r\nand it says jQuery is not defined.\r\n\r\nNot sure if this has something to do with the fact that Im transpiling ES6 code using babelify and browserify.\r\n\r\nNote: The jQuery is not defined comes from the plugin file itself \"jquery.simple.timer.js:189\"\r\n\r\nThanks in advance!"},"comment":{"url":"https://api.github.com/repos/caike/jQuery-Simple-Timer/issues/comments/263406419","html_url":"https://github.com/caike/jQuery-Simple-Timer/issues/26#issuecomment-263406419","issue_url":"https://api.github.com/repos/caike/jQuery-Simple-Timer/issues/26","id":263406419,"user":{"login":"caike","id":10722,"avatar_url":"https://avatars.githubusercontent.com/u/10722?v=3","gravatar_id":"","url":"https://api.github.com/users/caike","html_url":"https://github.com/caike","followers_url":"https://api.github.com/users/caike/followers","following_url":"https://api.github.com/users/caike/following{/other_user}","gists_url":"https://api.github.com/users/caike/gists{/gist_id}","starred_url":"https://api.github.com/users/caike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caike/subscriptions","organizations_url":"https://api.github.com/users/caike/orgs","repos_url":"https://api.github.com/users/caike/repos","events_url":"https://api.github.com/users/caike/events{/privacy}","received_events_url":"https://api.github.com/users/caike/received_events","type":"User","site_admin":false},"created_at":"2016-11-28T21:53:41Z","updated_at":"2016-11-28T21:53:41Z","body":"Cool! Sorry about that. Working on a fix for #25 and as soon as I'm done with that I'll publish the new version to npm."}}
{"actor":{"display_login":"caike"}}