{"action":"created","issue":{"url":"https://api.github.com/repos/jasonmit/virtual-each/issues/25","labels_url":"https://api.github.com/repos/jasonmit/virtual-each/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/jasonmit/virtual-each/issues/25/comments","events_url":"https://api.github.com/repos/jasonmit/virtual-each/issues/25/events","html_url":"https://github.com/jasonmit/virtual-each/issues/25","id":121727229,"number":25,"title":"DS.RESTAdapter support","user":{"login":"bitsoflogic","id":4437714,"avatar_url":"https://avatars.githubusercontent.com/u/4437714?v=3","gravatar_id":"","url":"https://api.github.com/users/bitsoflogic","html_url":"https://github.com/bitsoflogic","followers_url":"https://api.github.com/users/bitsoflogic/followers","following_url":"https://api.github.com/users/bitsoflogic/following{/other_user}","gists_url":"https://api.github.com/users/bitsoflogic/gists{/gist_id}","starred_url":"https://api.github.com/users/bitsoflogic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitsoflogic/subscriptions","organizations_url":"https://api.github.com/users/bitsoflogic/orgs","repos_url":"https://api.github.com/users/bitsoflogic/repos","events_url":"https://api.github.com/users/bitsoflogic/events{/privacy}","received_events_url":"https://api.github.com/users/bitsoflogic/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-11T15:17:23Z","updated_at":"2015-12-11T19:39:41Z","closed_at":"2015-12-11T19:39:41Z","body":"I know we've been on slightly different pages.  Below outlines my setup and how to reproduce the problem.\r\n\r\nI've setup a simple REST endpoint to test against: \r\n    `http://104.237.151.160:21339/notes?count=50`\r\n\r\n- `ember new test-project`\r\n- `cd test-project`\r\n- `npm i virtual-each --save`\r\n- `ember g adapter application`\r\n- `ember g model note`\r\n- `ember g route index`\r\n\r\nadapter/application.js\r\n```\r\nimport DS from 'ember-data';\r\n\r\nexport default DS.RESTAdapter.extend({\r\n  host: 'http://104.237.151.160:21339',\r\n\r\n  shouldReloadAll() {\r\n    return true;\r\n  }\r\n});\r\n```\r\n\r\nmodel/note.js\r\n```\r\nimport DS from 'ember-data';\r\n\r\nexport default DS.Model.extend({\r\n  body: DS.attr()\r\n});\r\n```\r\n\r\nroute/index.js\r\n```\r\nimport Ember from 'ember';\r\n\r\nexport default Ember.Route.extend({\r\n  model() {\r\n    return Ember.RSVP.hash({\r\n      notes: this.store.query('note', { count: 100 })\r\n    });\r\n  }\r\n});\r\n```\r\n\r\ntemplates/index.hbs\r\n```\r\n{{#virtual-each\r\n  itemHeight=18\r\n  height=180\r\n  items=model.notes as |note index|}}\r\n  {{note.body}}\r\n{{/virtual-each}}\r\n\r\n<ul>\r\n{{#each model.notes as |note index|}}\r\n  <li>{{note.body}}</li>\r\n{{/each}}\r\n</ul>\r\n```\r\n\r\nconfig/environment.js (Add `contentSecurityPolicy`)\r\n```\r\n... \r\n  var ENV = {\r\n    ...\r\n    contentSecurityPolicy: {\r\n      'connect-src': \"https: http: ws: 'unsafe-inline'\",\r\n      'default-src': \"https: http: 'unsafe-inline'\",\r\n      'script-src' : \"https: http: 'unsafe-eval'\",\r\n      'style-src'  : \"https: http: 'unsafe-inline'\",\r\n      'font-src'   : \"https: http: 'unsafe-inline'\"\r\n    },\r\n... \r\n```"},"comment":{"url":"https://api.github.com/repos/jasonmit/virtual-each/issues/comments/164030447","html_url":"https://github.com/jasonmit/virtual-each/issues/25#issuecomment-164030447","issue_url":"https://api.github.com/repos/jasonmit/virtual-each/issues/25","id":164030447,"user":{"login":"bitsoflogic","id":4437714,"avatar_url":"https://avatars.githubusercontent.com/u/4437714?v=3","gravatar_id":"","url":"https://api.github.com/users/bitsoflogic","html_url":"https://github.com/bitsoflogic","followers_url":"https://api.github.com/users/bitsoflogic/followers","following_url":"https://api.github.com/users/bitsoflogic/following{/other_user}","gists_url":"https://api.github.com/users/bitsoflogic/gists{/gist_id}","starred_url":"https://api.github.com/users/bitsoflogic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitsoflogic/subscriptions","organizations_url":"https://api.github.com/users/bitsoflogic/orgs","repos_url":"https://api.github.com/users/bitsoflogic/repos","events_url":"https://api.github.com/users/bitsoflogic/events{/privacy}","received_events_url":"https://api.github.com/users/bitsoflogic/received_events","type":"User","site_admin":false},"created_at":"2015-12-11T19:39:41Z","updated_at":"2015-12-11T19:39:41Z","body":"Ah, excellent!  I see it working now as well... \r\n\r\nThanks for taking the time to help and for continuing development on this awesome port!"}}