{"action":"created","issue":{"url":"https://api.github.com/repos/NejcZdovc/ng2-select2/issues/54","repository_url":"https://api.github.com/repos/NejcZdovc/ng2-select2","labels_url":"https://api.github.com/repos/NejcZdovc/ng2-select2/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/NejcZdovc/ng2-select2/issues/54/comments","events_url":"https://api.github.com/repos/NejcZdovc/ng2-select2/issues/54/events","html_url":"https://github.com/NejcZdovc/ng2-select2/issues/54","id":205107234,"number":54,"title":"Please add Select2 library (js file) to the project","user":{"login":"xtoff","id":660098,"avatar_url":"https://avatars.githubusercontent.com/u/660098?v=3","gravatar_id":"","url":"https://api.github.com/users/xtoff","html_url":"https://github.com/xtoff","followers_url":"https://api.github.com/users/xtoff/followers","following_url":"https://api.github.com/users/xtoff/following{/other_user}","gists_url":"https://api.github.com/users/xtoff/gists{/gist_id}","starred_url":"https://api.github.com/users/xtoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xtoff/subscriptions","organizations_url":"https://api.github.com/users/xtoff/orgs","repos_url":"https://api.github.com/users/xtoff/repos","events_url":"https://api.github.com/users/xtoff/events{/privacy}","received_events_url":"https://api.github.com/users/xtoff/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-02-03T09:22:23Z","updated_at":"2017-02-06T19:01:17Z","closed_at":null,"body":"Hello,\r\n\r\nI'm getting the following message in console when loading your select component:\r\n\"Please add Select2 library (js file) to the project. You can download it from https://github.com/select2/select2/tree/master/dist/js.\"\r\n\r\nI did everything for the installation.. \r\n\r\n1. Installed Jquery & Select2 and added it to my angular-cli.json:\r\n`\"scripts\": [\r\n\"../node_modules/jquery/dist/jquery.js\",\r\n        \"../node_modules/select2/dist/js/select2.full.js\"\r\n]`\r\n\r\n2. Installed ng2-select2 via npm \r\n3. Added ng2-select2 to my NgModule imports of my template where I added my select2 component.\r\n\r\nmodule:\r\n`import {Select2Module} from \"ng2-select2\";`\r\n\r\n`@NgModule({\r\n  declarations: [\r\n    RegisterCompanyComponent\r\n  ],\r\n  imports: [\r\n    CommonModule,\r\n    FormsModule,\r\n    ReactiveFormsModule,\r\n    Select2Module,\r\n    RouterModule.forChild(routes),\r\n  ]\r\n})`\r\n\r\nhtml:\r\n`<select2 [data]=\"countries\" [width]=\"150\"></select2>`\r\n\r\nIf I look at the scripts.bundle.js in my browsers source, the select2 library is in there:\r\n`module.exports = \"/*!\\r\\n * Select2 4.0.3\\r\\n * https://select2.github.io\\r\\n`\r\n\r\n\r\nHere are the versions I use:\r\n\r\n- ng2-select2: 1.0.0-beta.7\r\n- select2: 4.0.3\r\n- angular-cli: 1.0.0-beta.28.3\r\n- node: 7.5.0\r\n- os: darwin x64\r\n- @angular/common: 2.4.5\r\n- @angular/compiler: 2.4.5\r\n- @angular/core: 2.4.5\r\n- @angular/forms: 2.4.5\r\n- @angular/http: 2.4.5\r\n- @angular/platform-browser: 2.4.5\r\n- @angular/platform-browser-dynamic: 2.4.5\r\n- @angular/router: 3.4.5\r\n- @angular/compiler-cli: 2.4.5\r\n\r\nI hope you can help me.."},"comment":{"url":"https://api.github.com/repos/NejcZdovc/ng2-select2/issues/comments/277778565","html_url":"https://github.com/NejcZdovc/ng2-select2/issues/54#issuecomment-277778565","issue_url":"https://api.github.com/repos/NejcZdovc/ng2-select2/issues/54","id":277778565,"user":{"login":"NejcZdovc","id":9574457,"avatar_url":"https://avatars.githubusercontent.com/u/9574457?v=3","gravatar_id":"","url":"https://api.github.com/users/NejcZdovc","html_url":"https://github.com/NejcZdovc","followers_url":"https://api.github.com/users/NejcZdovc/followers","following_url":"https://api.github.com/users/NejcZdovc/following{/other_user}","gists_url":"https://api.github.com/users/NejcZdovc/gists{/gist_id}","starred_url":"https://api.github.com/users/NejcZdovc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NejcZdovc/subscriptions","organizations_url":"https://api.github.com/users/NejcZdovc/orgs","repos_url":"https://api.github.com/users/NejcZdovc/repos","events_url":"https://api.github.com/users/NejcZdovc/events{/privacy}","received_events_url":"https://api.github.com/users/NejcZdovc/received_events","type":"User","site_admin":false},"created_at":"2017-02-06T19:01:17Z","updated_at":"2017-02-06T19:01:17Z","body":"@xtoff I see that you have basic installation via CLI. Is it possible that you would create github repo of your project, so that I can check it out myself?"}}
{"actor":{"display_login":"NejcZdovc"}}