{"action":"created","issue":{"url":"https://api.github.com/repos/cjohansen/Sinon.JS/issues/679","labels_url":"https://api.github.com/repos/cjohansen/Sinon.JS/issues/679/labels{/name}","comments_url":"https://api.github.com/repos/cjohansen/Sinon.JS/issues/679/comments","events_url":"https://api.github.com/repos/cjohansen/Sinon.JS/issues/679/events","html_url":"https://github.com/cjohansen/Sinon.JS/pull/679","id":57151083,"number":679,"title":"(AMD) use explicit define in built version","user":{"login":"mroderick","id":20321,"avatar_url":"https://avatars.githubusercontent.com/u/20321?v=3","gravatar_id":"","url":"https://api.github.com/users/mroderick","html_url":"https://github.com/mroderick","followers_url":"https://api.github.com/users/mroderick/followers","following_url":"https://api.github.com/users/mroderick/following{/other_user}","gists_url":"https://api.github.com/users/mroderick/gists{/gist_id}","starred_url":"https://api.github.com/users/mroderick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mroderick/subscriptions","organizations_url":"https://api.github.com/users/mroderick/orgs","repos_url":"https://api.github.com/users/mroderick/repos","events_url":"https://api.github.com/users/mroderick/events{/privacy}","received_events_url":"https://api.github.com/users/mroderick/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cjohansen/Sinon.JS/labels/1.x","name":"1.x","color":"bfe5bf"},{"url":"https://api.github.com/repos/cjohansen/Sinon.JS/labels/AMD","name":"AMD","color":"d4c5f9"},{"url":"https://api.github.com/repos/cjohansen/Sinon.JS/labels/Bug","name":"Bug","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-10T09:41:55Z","updated_at":"2015-02-12T11:15:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cjohansen/Sinon.JS/pulls/679","html_url":"https://github.com/cjohansen/Sinon.JS/pull/679","diff_url":"https://github.com/cjohansen/Sinon.JS/pull/679.diff","patch_url":"https://github.com/cjohansen/Sinon.JS/pull/679.patch"},"body":"This should fix issues in test runners (Jasmine 2 with weird grunt\r\nrequire plugins, karma, etc.) where users get the much dreaded\r\n[mismatched anonymous define modules](http://requirejs.org/docs/errors.html#mismatch)\r\nerror when loading Sinon.JS via RequireJS.\r\n\r\nI am not yet sure how to test this, feedback welcome.\r\nOne idea would be to write a few tests using RequireJS, that can be run via specific npm statements. \r\n\r\nThis idea came from https://github.com/cjohansen/Sinon.JS/issues/591#issuecomment-67765972\r\n\r\nSee also: https://github.com/cjohansen/Sinon.JS/issues/639"},"comment":{"url":"https://api.github.com/repos/cjohansen/Sinon.JS/issues/comments/74054920","html_url":"https://github.com/cjohansen/Sinon.JS/pull/679#issuecomment-74054920","issue_url":"https://api.github.com/repos/cjohansen/Sinon.JS/issues/679","id":74054920,"user":{"login":"Munter","id":331790,"avatar_url":"https://avatars.githubusercontent.com/u/331790?v=3","gravatar_id":"","url":"https://api.github.com/users/Munter","html_url":"https://github.com/Munter","followers_url":"https://api.github.com/users/Munter/followers","following_url":"https://api.github.com/users/Munter/following{/other_user}","gists_url":"https://api.github.com/users/Munter/gists{/gist_id}","starred_url":"https://api.github.com/users/Munter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Munter/subscriptions","organizations_url":"https://api.github.com/users/Munter/orgs","repos_url":"https://api.github.com/users/Munter/repos","events_url":"https://api.github.com/users/Munter/events{/privacy}","received_events_url":"https://api.github.com/users/Munter/received_events","type":"User","site_admin":false},"created_at":"2015-02-12T11:15:33Z","updated_at":"2015-02-12T11:15:33Z","body":"+1 for checking in the build version. This will also immediately solve installation via bower"}}