{"action":"created","issue":{"url":"https://api.github.com/repos/dburles/mongo-collection-instances/issues/13","labels_url":"https://api.github.com/repos/dburles/mongo-collection-instances/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/dburles/mongo-collection-instances/issues/13/comments","events_url":"https://api.github.com/repos/dburles/mongo-collection-instances/issues/13/events","html_url":"https://github.com/dburles/mongo-collection-instances/issues/13","id":58476492,"number":13,"title":"Problem with collection Metor.users","user":{"login":"kjm","id":10880739,"avatar_url":"https://avatars.githubusercontent.com/u/10880739?v=3","gravatar_id":"","url":"https://api.github.com/users/kjm","html_url":"https://github.com/kjm","followers_url":"https://api.github.com/users/kjm/followers","following_url":"https://api.github.com/users/kjm/following{/other_user}","gists_url":"https://api.github.com/users/kjm/gists{/gist_id}","starred_url":"https://api.github.com/users/kjm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kjm/subscriptions","organizations_url":"https://api.github.com/users/kjm/orgs","repos_url":"https://api.github.com/users/kjm/repos","events_url":"https://api.github.com/users/kjm/events{/privacy}","received_events_url":"https://api.github.com/users/kjm/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"dburles","id":319567,"avatar_url":"https://avatars.githubusercontent.com/u/319567?v=3","gravatar_id":"","url":"https://api.github.com/users/dburles","html_url":"https://github.com/dburles","followers_url":"https://api.github.com/users/dburles/followers","following_url":"https://api.github.com/users/dburles/following{/other_user}","gists_url":"https://api.github.com/users/dburles/gists{/gist_id}","starred_url":"https://api.github.com/users/dburles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dburles/subscriptions","organizations_url":"https://api.github.com/users/dburles/orgs","repos_url":"https://api.github.com/users/dburles/repos","events_url":"https://api.github.com/users/dburles/events{/privacy}","received_events_url":"https://api.github.com/users/dburles/received_events","type":"User","site_admin":false},"milestone":null,"comments":10,"created_at":"2015-02-21T21:50:19Z","updated_at":"2015-05-19T21:01:53Z","closed_at":"2015-02-26T03:18:39Z","body":"Hi,\r\nIt's good idea to have such functionality, thx.\r\n\r\nThere's a problem with collection served automatically - Meteor.users (by Accounts package).\r\nAfter install mongo-collection-instances this one collection is no more instanceof Mongo.collection.\r\nThis causes that tests like below fails\r\n\r\n if (!(options.collection instanceof Mongo.Collection)) {\r\n       throw new Error('Tabular.Table options must specify collection');\r\n}\r\nor \r\nconsole.log(Meteor.users instanceof Mongo.Collection);  ->> false\r\nconsole.log(<any other proper collection> instanceof Mongo.Collection);  ->> true\r\n\r\nAny tips how to resolve this? :)\r\n\r\nBest regards\r\nKonrad"},"comment":{"url":"https://api.github.com/repos/dburles/mongo-collection-instances/issues/comments/103666554","html_url":"https://github.com/dburles/mongo-collection-instances/issues/13#issuecomment-103666554","issue_url":"https://api.github.com/repos/dburles/mongo-collection-instances/issues/13","id":103666554,"user":{"login":"dkoo761","id":1085510,"avatar_url":"https://avatars.githubusercontent.com/u/1085510?v=3","gravatar_id":"","url":"https://api.github.com/users/dkoo761","html_url":"https://github.com/dkoo761","followers_url":"https://api.github.com/users/dkoo761/followers","following_url":"https://api.github.com/users/dkoo761/following{/other_user}","gists_url":"https://api.github.com/users/dkoo761/gists{/gist_id}","starred_url":"https://api.github.com/users/dkoo761/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkoo761/subscriptions","organizations_url":"https://api.github.com/users/dkoo761/orgs","repos_url":"https://api.github.com/users/dkoo761/repos","events_url":"https://api.github.com/users/dkoo761/events{/privacy}","received_events_url":"https://api.github.com/users/dkoo761/received_events","type":"User","site_admin":false},"created_at":"2015-05-19T21:01:53Z","updated_at":"2015-05-19T21:01:53Z","body":"In the above vanilla installation:\r\n\r\n```javascript\r\nif (Meteor.isClient) {\r\n    console.log(Meteor.users instanceof Mongo.Collection); // <----- false for IE 9/10, true for IE 11\r\n}\r\n```"}}