{"action":"created","issue":{"url":"https://api.github.com/repos/kangax/fabric.js/issues/1942","labels_url":"https://api.github.com/repos/kangax/fabric.js/issues/1942/labels{/name}","comments_url":"https://api.github.com/repos/kangax/fabric.js/issues/1942/comments","events_url":"https://api.github.com/repos/kangax/fabric.js/issues/1942/events","html_url":"https://github.com/kangax/fabric.js/issues/1942","id":55291625,"number":1942,"title":"Duplicating i-text","user":{"login":"24ozcoffee","id":10671609,"avatar_url":"https://avatars.githubusercontent.com/u/10671609?v=3","gravatar_id":"","url":"https://api.github.com/users/24ozcoffee","html_url":"https://github.com/24ozcoffee","followers_url":"https://api.github.com/users/24ozcoffee/followers","following_url":"https://api.github.com/users/24ozcoffee/following{/other_user}","gists_url":"https://api.github.com/users/24ozcoffee/gists{/gist_id}","starred_url":"https://api.github.com/users/24ozcoffee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/24ozcoffee/subscriptions","organizations_url":"https://api.github.com/users/24ozcoffee/orgs","repos_url":"https://api.github.com/users/24ozcoffee/repos","events_url":"https://api.github.com/users/24ozcoffee/events{/privacy}","received_events_url":"https://api.github.com/users/24ozcoffee/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-23T15:08:44Z","updated_at":"2015-01-23T18:06:27Z","closed_at":"2015-01-23T15:51:34Z","body":"When a single i-text element is added to a canvas, subsequent iteration of the canvas show two i-text objects.\r\n\r\n\r\n\r\nvar canvas = new fabric.Canvas('c');\r\nvar text = new fabric.Text('hello world', { left: 100, top: 100 });\r\ncanvas.add(text);\r\nvar obj = canvas.getObjects();\r\nfor (var i in obj) {\r\n\tif(obj[i].type == 'i-text'){\r\n\t\tconsole.log(obj[i].typee);\r\n\t} \r\n}\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/kangax/fabric.js/issues/comments/71236073","html_url":"https://github.com/kangax/fabric.js/issues/1942#issuecomment-71236073","issue_url":"https://api.github.com/repos/kangax/fabric.js/issues/1942","id":71236073,"user":{"login":"24ozcoffee","id":10671609,"avatar_url":"https://avatars.githubusercontent.com/u/10671609?v=3","gravatar_id":"","url":"https://api.github.com/users/24ozcoffee","html_url":"https://github.com/24ozcoffee","followers_url":"https://api.github.com/users/24ozcoffee/followers","following_url":"https://api.github.com/users/24ozcoffee/following{/other_user}","gists_url":"https://api.github.com/users/24ozcoffee/gists{/gist_id}","starred_url":"https://api.github.com/users/24ozcoffee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/24ozcoffee/subscriptions","organizations_url":"https://api.github.com/users/24ozcoffee/orgs","repos_url":"https://api.github.com/users/24ozcoffee/repos","events_url":"https://api.github.com/users/24ozcoffee/events{/privacy}","received_events_url":"https://api.github.com/users/24ozcoffee/received_events","type":"User","site_admin":false},"created_at":"2015-01-23T18:06:27Z","updated_at":"2015-01-23T18:06:27Z","body":"I found my error, sorry for wasting your time with a false error report."}}