{"action":"opened","issue":{"url":"https://api.github.com/repos/adobe/brackets/issues/10566","labels_url":"https://api.github.com/repos/adobe/brackets/issues/10566/labels{/name}","comments_url":"https://api.github.com/repos/adobe/brackets/issues/10566/comments","events_url":"https://api.github.com/repos/adobe/brackets/issues/10566/events","html_url":"https://github.com/adobe/brackets/issues/10566","id":57187999,"number":10566,"title":"Brackets hangs when using protocol relative urls with requirejs","user":{"login":"fdefalco","id":6586384,"avatar_url":"https://avatars.githubusercontent.com/u/6586384?v=3","gravatar_id":"","url":"https://api.github.com/users/fdefalco","html_url":"https://github.com/fdefalco","followers_url":"https://api.github.com/users/fdefalco/followers","following_url":"https://api.github.com/users/fdefalco/following{/other_user}","gists_url":"https://api.github.com/users/fdefalco/gists{/gist_id}","starred_url":"https://api.github.com/users/fdefalco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fdefalco/subscriptions","organizations_url":"https://api.github.com/users/fdefalco/orgs","repos_url":"https://api.github.com/users/fdefalco/repos","events_url":"https://api.github.com/users/fdefalco/events{/privacy}","received_events_url":"https://api.github.com/users/fdefalco/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-10T15:19:39Z","updated_at":"2015-02-10T15:19:39Z","closed_at":null,"body":"using the following configuration will cause brackets to hang when switching between the file containing this content and other files.\r\n\r\n```javascript\r\nrequirejs.config({\r\n\tbaseUrl: 'js',\r\n\tshim: {\r\n\t\t\"bootstrap\": {\r\n\t\t\t\"deps\": ['jquery']\r\n\t\t}\r\n\t},\r\n\tpaths: {\r\n\t\t\"jquery\": \"//code.jquery.com/jquery-1.11.2.min\",\r\n\t\t\"bootstrap\": \"//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min\"\r\n\t}\r\n});\r\n```\r\n\r\nchanging this to a protocol specific url resolves the issue\r\n\r\n```javascript\r\nrequirejs.config({\r\n\tbaseUrl: 'js',\r\n\tshim: {\r\n\t\t\"bootstrap\": {\r\n\t\t\t\"deps\": ['jquery']\r\n\t\t}\r\n\t},\r\n\tpaths: {\r\n\t\t\"jquery\": \"http://code.jquery.com/jquery-1.11.2.min\",\r\n\t\t\"bootstrap\": \"http://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min\"\r\n\t}\r\n});\r\n```"}}