{"action":"closed","issue":{"url":"https://api.github.com/repos/dcodeIO/ProtoBuf.js/issues/292","labels_url":"https://api.github.com/repos/dcodeIO/ProtoBuf.js/issues/292/labels{/name}","comments_url":"https://api.github.com/repos/dcodeIO/ProtoBuf.js/issues/292/comments","events_url":"https://api.github.com/repos/dcodeIO/ProtoBuf.js/issues/292/events","html_url":"https://github.com/dcodeIO/ProtoBuf.js/issues/292","id":90991097,"number":292,"title":"Use ByteBuffer.isByteBuffer instead of instanceof","user":{"login":"englercj","id":944497,"avatar_url":"https://avatars.githubusercontent.com/u/944497?v=3","gravatar_id":"","url":"https://api.github.com/users/englercj","html_url":"https://github.com/englercj","followers_url":"https://api.github.com/users/englercj/followers","following_url":"https://api.github.com/users/englercj/following{/other_user}","gists_url":"https://api.github.com/users/englercj/gists{/gist_id}","starred_url":"https://api.github.com/users/englercj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/englercj/subscriptions","organizations_url":"https://api.github.com/users/englercj/orgs","repos_url":"https://api.github.com/users/englercj/repos","events_url":"https://api.github.com/users/englercj/events{/privacy}","received_events_url":"https://api.github.com/users/englercj/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-25T15:09:08Z","updated_at":"2015-06-25T15:50:01Z","closed_at":"2015-06-25T15:50:01Z","body":"See https://github.com/dcodeIO/ByteBuffer.js/issues/52\r\n\r\nThese places should be using `ByteBuffer.isByteBuffer()` instead of direct instance checks:\r\n\r\nhttps://github.com/dcodeIO/ProtoBuf.js/blob/master/src/ProtoBuf/Builder/Message.js#L41\r\nhttps://github.com/dcodeIO/ProtoBuf.js/blob/master/src/ProtoBuf/Builder/Message.js#L499\r\nhttps://github.com/dcodeIO/ProtoBuf.js/blob/master/src/ProtoBuf/Builder/Message.js#L581\r\nhttps://github.com/dcodeIO/ProtoBuf.js/blob/master/src/ProtoBuf/Builder/Message.js#L607"}}