{"issue":{"title":"Added an example of using require.js's syntactic sugar for use when defining modules.","user":{"id":39469,"login":"meirish","url":"https://api.github.com/users/meirish","gravatar_id":"f0ff4a871ec225fb06e1283eb40a0085","avatar_url":"https://secure.gravatar.com/avatar/f0ff4a871ec225fb06e1283eb40a0085?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"milestone":null,"created_at":"2011-12-22T06:23:34Z","labels":[],"state":"open","updated_at":"2011-12-22T14:02:17Z","id":2634597,"html_url":"https://github.com/addyosmani/backbone-fundamentals/issues/6","closed_at":null,"pull_request":{"patch_url":"https://github.com/addyosmani/backbone-fundamentals/pull/6.patch","html_url":"https://github.com/addyosmani/backbone-fundamentals/pull/6","diff_url":"https://github.com/addyosmani/backbone-fundamentals/pull/6.diff"},"body":"I prefer this way of using define as it feels more natural and \"JavaScripty\", but am hesitant to change all examples of `define()` to this as I don't think it's the more widely-used syntax. Also, I'm not sure about the placement of the change - it might make more sense after the discussion of `require()`. ","number":6,"url":"https://api.github.com/repos/addyosmani/backbone-fundamentals/issues/6","comments":1,"assignee":null},"comment":{"user":{"id":110953,"login":"addyosmani","url":"https://api.github.com/users/addyosmani","gravatar_id":"96270e4c3e5e9806cf7245475c00b275","avatar_url":"https://secure.gravatar.com/avatar/96270e4c3e5e9806cf7245475c00b275?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"created_at":"2011-12-22T14:02:17Z","updated_at":"2011-12-22T14:02:17Z","id":3249253,"body":"@aaronmcadam @meirish I've seen James mention this alternative syntax on another repo and I definitely think it's worth including. As Aaron mentioned, perhaps we should consider adding it directly after the first define example with the tag 'Alternative syntax' and a one-liner to explain how it differs and why people may prefer it. ","url":"https://api.github.com/repos/addyosmani/backbone-fundamentals/issues/comments/3249253"},"action":"created"}