{"action":"closed","issue":{"url":"https://api.github.com/repos/quark-dev/Phonon-Framework/issues/10","labels_url":"https://api.github.com/repos/quark-dev/Phonon-Framework/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/quark-dev/Phonon-Framework/issues/10/comments","events_url":"https://api.github.com/repos/quark-dev/Phonon-Framework/issues/10/events","html_url":"https://github.com/quark-dev/Phonon-Framework/issues/10","id":105825946,"number":10,"title":"CrossDomain flag is not handled correctly","user":{"login":"HugoCrd","id":534015,"avatar_url":"https://avatars.githubusercontent.com/u/534015?v=3","gravatar_id":"","url":"https://api.github.com/users/HugoCrd","html_url":"https://github.com/HugoCrd","followers_url":"https://api.github.com/users/HugoCrd/followers","following_url":"https://api.github.com/users/HugoCrd/following{/other_user}","gists_url":"https://api.github.com/users/HugoCrd/gists{/gist_id}","starred_url":"https://api.github.com/users/HugoCrd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HugoCrd/subscriptions","organizations_url":"https://api.github.com/users/HugoCrd/orgs","repos_url":"https://api.github.com/users/HugoCrd/repos","events_url":"https://api.github.com/users/HugoCrd/events{/privacy}","received_events_url":"https://api.github.com/users/HugoCrd/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-10T14:49:05Z","updated_at":"2015-09-10T21:18:26Z","closed_at":"2015-09-10T21:18:26Z","body":"Hi !\r\n\r\nThis line seems to be wrong : \r\nhttps://github.com/quark-dev/Phonon-Framework/blob/244fa27828ab90aa6e54f54da765d8fe704a8c99/src/js/core/ajax.js#L66\r\nI think it should be :\r\n```var crossDomain = (typeof opts.crossDomain === 'boolean' ? opts.crossDomain : false);```\r\n\r\nFor now, CORS is activated when ```opts.crossDomain``` equals ```\"boolean\"``` which is odd ;)\r\n\r\nHaving fun with Phonon so far, thanks!"}}