{"issue":{"state":"closed","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"user":{"avatar_url":"https://secure.gravatar.com/avatar/0db2fd6ad7f95628b69af69f214d3cc3?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"0db2fd6ad7f95628b69af69f214d3cc3","url":"https://api.github.com/users/kapooostin","login":"kapooostin","id":467097},"milestone":null,"labels":[{"name":"bug","color":"ff0000","url":"https://api.github.com/repos/documentcloud/underscore/labels/bug"},{"name":"fixed","color":"000000","url":"https://api.github.com/repos/documentcloud/underscore/labels/fixed"}],"assignee":null,"updated_at":"2011-10-31T14:54:50Z","closed_at":"2011-10-31T14:43:10Z","comments":2,"url":"https://api.github.com/repos/documentcloud/underscore/issues/355","body":"```javascript\r\n735: if (hasOwnProperty.call(b, key) && !size--) break;\r\n```\r\nIt cannot assign value in the second part of conjunction. Adding braces solves it:\r\n\r\n```javascript\r\n735: if (hasOwnProperty.call(b, key) && !(size--)) break; //works fine\r\n```","html_url":"https://github.com/documentcloud/underscore/issues/355","title":"Adobe InDesign JS Engine fails on isEqual method","number":355,"id":2092736,"created_at":"2011-10-30T23:20:11Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/0db2fd6ad7f95628b69af69f214d3cc3?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"0db2fd6ad7f95628b69af69f214d3cc3","url":"https://api.github.com/users/kapooostin","login":"kapooostin","id":467097},"updated_at":"2011-10-31T14:54:50Z","url":"https://api.github.com/repos/documentcloud/underscore/issues/comments/2577815","body":"Great!\r\n\r\nI didn't test it yet in Illustrator, but in InD I also changed the way how ```root``` is defined. Inside function ```this``` doesn't refer to ```global```, so I passed it as a parameter, exactly as it is implemented in underscore.string.js.\r\n\r\n```javascript\r\n(function(root){\r\n    ...\r\n}(this || window));\r\n```\r\n\r\nShould I open an issue for this or there are reasons for global scope not to be passed to module as a parameter?","id":2577815,"created_at":"2011-10-31T14:54:50Z"}}