{"action":"opened","issue":{"url":"https://api.github.com/repos/ichord/At.js/issues/406","repository_url":"https://api.github.com/repos/ichord/At.js","labels_url":"https://api.github.com/repos/ichord/At.js/issues/406/labels{/name}","comments_url":"https://api.github.com/repos/ichord/At.js/issues/406/comments","events_url":"https://api.github.com/repos/ichord/At.js/issues/406/events","html_url":"https://github.com/ichord/At.js/issues/406","id":158936953,"number":406,"title":"Trouble using At.js in TypeScript project","user":{"login":"loicknuchel","id":653009,"avatar_url":"https://avatars.githubusercontent.com/u/653009?v=3","gravatar_id":"","url":"https://api.github.com/users/loicknuchel","html_url":"https://github.com/loicknuchel","followers_url":"https://api.github.com/users/loicknuchel/followers","following_url":"https://api.github.com/users/loicknuchel/following{/other_user}","gists_url":"https://api.github.com/users/loicknuchel/gists{/gist_id}","starred_url":"https://api.github.com/users/loicknuchel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loicknuchel/subscriptions","organizations_url":"https://api.github.com/users/loicknuchel/orgs","repos_url":"https://api.github.com/users/loicknuchel/repos","events_url":"https://api.github.com/users/loicknuchel/events{/privacy}","received_events_url":"https://api.github.com/users/loicknuchel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-07T14:26:11Z","updated_at":"2016-06-07T14:26:11Z","closed_at":null,"body":"Hi, your lib seems fantastic but I didn't succeed unsing it in my [Ionic2](http://ionicframework.com/docs/v2/) project (I use Ionic2, Angular2 & TypeScript) :(\r\n\r\n1. I installed jquery, jquery.caret et at.js from npm : `npm install jquery jquery.caret at.js --save` (I've got versions 2.2.4, 0.2.1 & 0.5.1 respectively)\r\n2. I imported typings for jquery : `typings install dt~jquery --ambient --save` (it seems there is none for caret & at.js)\r\n\r\nBut after that I get troubles : \r\n\r\n-  I'm unable to import them (typescript import) just like jquery (`import * as jQuery from \"jquery\";`) so I copied them to my project to import the file (`import * as caret from \"../../lib/jquery.caret/jquery.caret.min\";`)\r\n- When I use them, nothing happens : \r\n```\r\njQuery(this._elementRef.nativeElement).find('textarea').atwho({\r\n    at: '@',\r\n    data: ['one', 'two', 'three']\r\n});\r\n```\r\n\r\nDo you have any idea on what's going on and how to solve this ?"}}
{"actor":{"display_login":"loicknuchel"}}