{"action":"created","issue":{"url":"https://api.github.com/repos/okcoker/taggle.js/issues/48","repository_url":"https://api.github.com/repos/okcoker/taggle.js","labels_url":"https://api.github.com/repos/okcoker/taggle.js/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/okcoker/taggle.js/issues/48/comments","events_url":"https://api.github.com/repos/okcoker/taggle.js/issues/48/events","html_url":"https://github.com/okcoker/taggle.js/pull/48","id":143032777,"number":48,"title":"Added option to using pre-existing <input>","user":{"login":"justinmusti","id":8549896,"avatar_url":"https://avatars.githubusercontent.com/u/8549896?v=3","gravatar_id":"","url":"https://api.github.com/users/justinmusti","html_url":"https://github.com/justinmusti","followers_url":"https://api.github.com/users/justinmusti/followers","following_url":"https://api.github.com/users/justinmusti/following{/other_user}","gists_url":"https://api.github.com/users/justinmusti/gists{/gist_id}","starred_url":"https://api.github.com/users/justinmusti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinmusti/subscriptions","organizations_url":"https://api.github.com/users/justinmusti/orgs","repos_url":"https://api.github.com/users/justinmusti/repos","events_url":"https://api.github.com/users/justinmusti/events{/privacy}","received_events_url":"https://api.github.com/users/justinmusti/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-23T17:49:23Z","updated_at":"2016-03-23T20:10:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/okcoker/taggle.js/pulls/48","html_url":"https://github.com/okcoker/taggle.js/pull/48","diff_url":"https://github.com/okcoker/taggle.js/pull/48.diff","patch_url":"https://github.com/okcoker/taggle.js/pull/48.patch"},"body":"Added the option for the user to specify an existing `<input>` tag. If one isn't specified, it'll create a new one like usual. \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/okcoker/taggle.js/issues/comments/200523141","html_url":"https://github.com/okcoker/taggle.js/pull/48#issuecomment-200523141","issue_url":"https://api.github.com/repos/okcoker/taggle.js/issues/48","id":200523141,"user":{"login":"okcoker","id":1030830,"avatar_url":"https://avatars.githubusercontent.com/u/1030830?v=3","gravatar_id":"","url":"https://api.github.com/users/okcoker","html_url":"https://github.com/okcoker","followers_url":"https://api.github.com/users/okcoker/followers","following_url":"https://api.github.com/users/okcoker/following{/other_user}","gists_url":"https://api.github.com/users/okcoker/gists{/gist_id}","starred_url":"https://api.github.com/users/okcoker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okcoker/subscriptions","organizations_url":"https://api.github.com/users/okcoker/orgs","repos_url":"https://api.github.com/users/okcoker/repos","events_url":"https://api.github.com/users/okcoker/events{/privacy}","received_events_url":"https://api.github.com/users/okcoker/received_events","type":"User","site_admin":false},"created_at":"2016-03-23T20:10:32Z","updated_at":"2016-03-23T20:10:32Z","body":"@justinmusti This is good but can you make the following changes:\r\n\r\n- Fix the style according to eslint. I don't know if this passes `grunt eslint` but I wouldn't want it to. The `else` should be on a newline followed by ` {`. Also there should be a space between `if` and `(`. \r\n- I'd like this to work like [`this.container`](https://github.com/okcoker/taggle.js/blob/9e9096362e1788fb17804c348bab67ee3ba62eb3/src/taggle.js#L220-L242), that is to say, a person can pass a string that would serve as the `id` of the desired `input` like you have now, or they can pass an element itself.\r\n- Squash commits \r\n- Add tests\r\n\r\n@davidnuon Not sure if this is a common problem but I'll upgrade the package dependencies including the travis node version and hopefully that will fix things\r\n"}}