{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/comments/32395301","id":32395301,"diff_hunk":"@@ -142,21 +142,22 @@ define(function(require) {\n \n     this.debug('search');\n     this._searching = true;\n-    return this._connWrapper.search().then((networks = []) => {\n-      var operators = networks.map((network) => OperatorItem(network));\n-      operators.forEach((operator) => {\n+    return this._connWrapper.search().then(function(networks = []) {\n+      var operators = networks.map(function(network) {\n+        return OperatorItem(network); });\n+      operators.forEach(function(operator) {\n         if (operator.network.state === OperatorItem.STATE.CONNECTED) {\n           this._connectedOperatorItem = operator;\n         }\n       });\n       this._operators.reset(operators);\n-    }).catch((error) => {\n+    }).catch(function(error) {","path":"apps/settings/js/panels/operator_settings/models/operator_manager.js","position":17,"original_position":17,"commit_id":"76ad807d29870666c849ed9d34499787575ba317","original_commit_id":"76ad807d29870666c849ed9d34499787575ba317","user":{"login":"gasolin","id":748808,"avatar_url":"https://avatars.githubusercontent.com/u/748808?v=3","gravatar_id":"","url":"https://api.github.com/users/gasolin","html_url":"https://github.com/gasolin","followers_url":"https://api.github.com/users/gasolin/followers","following_url":"https://api.github.com/users/gasolin/following{/other_user}","gists_url":"https://api.github.com/users/gasolin/gists{/gist_id}","starred_url":"https://api.github.com/users/gasolin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gasolin/subscriptions","organizations_url":"https://api.github.com/users/gasolin/orgs","repos_url":"https://api.github.com/users/gasolin/repos","events_url":"https://api.github.com/users/gasolin/events{/privacy}","received_events_url":"https://api.github.com/users/gasolin/received_events","type":"User","site_admin":false},"body":"please keep the origin syntax(preffered), or you need add `.bind(this)` at the end of the function.","created_at":"2015-06-15T07:00:43Z","updated_at":"2015-06-15T07:00:43Z","html_url":"https://github.com/mozilla-b2g/gaia/pull/30583#discussion_r32395301","pull_request_url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/30583","_links":{"self":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/comments/32395301"},"html":{"href":"https://github.com/mozilla-b2g/gaia/pull/30583#discussion_r32395301"},"pull_request":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/30583"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/30583","id":37647383,"html_url":"https://github.com/mozilla-b2g/gaia/pull/30583","diff_url":"https://github.com/mozilla-b2g/gaia/pull/30583.diff","patch_url":"https://github.com/mozilla-b2g/gaia/pull/30583.patch","issue_url":"https://api.github.com/repos/mozilla-b2g/gaia/issues/30583","number":30583,"state":"open","locked":false,"title":"Bug 1170463 - [Settings] fix remain jsdoc error","user":{"login":"yuwen41200","id":7530451,"avatar_url":"https://avatars.githubusercontent.com/u/7530451?v=3","gravatar_id":"","url":"https://api.github.com/users/yuwen41200","html_url":"https://github.com/yuwen41200","followers_url":"https://api.github.com/users/yuwen41200/followers","following_url":"https://api.github.com/users/yuwen41200/following{/other_user}","gists_url":"https://api.github.com/users/yuwen41200/gists{/gist_id}","starred_url":"https://api.github.com/users/yuwen41200/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuwen41200/subscriptions","organizations_url":"https://api.github.com/users/yuwen41200/orgs","repos_url":"https://api.github.com/users/yuwen41200/repos","events_url":"https://api.github.com/users/yuwen41200/events{/privacy}","received_events_url":"https://api.github.com/users/yuwen41200/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-14T19:57:04Z","updated_at":"2015-06-15T07:00:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"46a03c65f9fdf68f2f7ae7e4df3eecab95bb3548","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/30583/commits","review_comments_url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/30583/comments","review_comment_url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla-b2g/gaia/issues/30583/comments","statuses_url":"https://api.github.com/repos/mozilla-b2g/gaia/statuses/76ad807d29870666c849ed9d34499787575ba317","head":{"label":"yuwen41200:master","ref":"master","sha":"76ad807d29870666c849ed9d34499787575ba317","user":{"login":"yuwen41200","id":7530451,"avatar_url":"https://avatars.githubusercontent.com/u/7530451?v=3","gravatar_id":"","url":"https://api.github.com/users/yuwen41200","html_url":"https://github.com/yuwen41200","followers_url":"https://api.github.com/users/yuwen41200/followers","following_url":"https://api.github.com/users/yuwen41200/following{/other_user}","gists_url":"https://api.github.com/users/yuwen41200/gists{/gist_id}","starred_url":"https://api.github.com/users/yuwen41200/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuwen41200/subscriptions","organizations_url":"https://api.github.com/users/yuwen41200/orgs","repos_url":"https://api.github.com/users/yuwen41200/repos","events_url":"https://api.github.com/users/yuwen41200/events{/privacy}","received_events_url":"https://api.github.com/users/yuwen41200/received_events","type":"User","site_admin":false},"repo":{"id":34789753,"name":"gaia","full_name":"yuwen41200/gaia","owner":{"login":"yuwen41200","id":7530451,"avatar_url":"https://avatars.githubusercontent.com/u/7530451?v=3","gravatar_id":"","url":"https://api.github.com/users/yuwen41200","html_url":"https://github.com/yuwen41200","followers_url":"https://api.github.com/users/yuwen41200/followers","following_url":"https://api.github.com/users/yuwen41200/following{/other_user}","gists_url":"https://api.github.com/users/yuwen41200/gists{/gist_id}","starred_url":"https://api.github.com/users/yuwen41200/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuwen41200/subscriptions","organizations_url":"https://api.github.com/users/yuwen41200/orgs","repos_url":"https://api.github.com/users/yuwen41200/repos","events_url":"https://api.github.com/users/yuwen41200/events{/privacy}","received_events_url":"https://api.github.com/users/yuwen41200/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yuwen41200/gaia","description":"Gaia is a HTML5-based Phone UI for the Boot 2 Gecko Project. NOTE: For details of what branches are used for what releases, see","fork":true,"url":"https://api.github.com/repos/yuwen41200/gaia","forks_url":"https://api.github.com/repos/yuwen41200/gaia/forks","keys_url":"https://api.github.com/repos/yuwen41200/gaia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yuwen41200/gaia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yuwen41200/gaia/teams","hooks_url":"https://api.github.com/repos/yuwen41200/gaia/hooks","issue_events_url":"https://api.github.com/repos/yuwen41200/gaia/issues/events{/number}","events_url":"https://api.github.com/repos/yuwen41200/gaia/events","assignees_url":"https://api.github.com/repos/yuwen41200/gaia/assignees{/user}","branches_url":"https://api.github.com/repos/yuwen41200/gaia/branches{/branch}","tags_url":"https://api.github.com/repos/yuwen41200/gaia/tags","blobs_url":"https://api.github.com/repos/yuwen41200/gaia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yuwen41200/gaia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yuwen41200/gaia/git/refs{/sha}","trees_url":"https://api.github.com/repos/yuwen41200/gaia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yuwen41200/gaia/statuses/{sha}","languages_url":"https://api.github.com/repos/yuwen41200/gaia/languages","stargazers_url":"https://api.github.com/repos/yuwen41200/gaia/stargazers","contributors_url":"https://api.github.com/repos/yuwen41200/gaia/contributors","subscribers_url":"https://api.github.com/repos/yuwen41200/gaia/subscribers","subscription_url":"https://api.github.com/repos/yuwen41200/gaia/subscription","commits_url":"https://api.github.com/repos/yuwen41200/gaia/commits{/sha}","git_commits_url":"https://api.github.com/repos/yuwen41200/gaia/git/commits{/sha}","comments_url":"https://api.github.com/repos/yuwen41200/gaia/comments{/number}","issue_comment_url":"https://api.github.com/repos/yuwen41200/gaia/issues/comments{/number}","contents_url":"https://api.github.com/repos/yuwen41200/gaia/contents/{+path}","compare_url":"https://api.github.com/repos/yuwen41200/gaia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yuwen41200/gaia/merges","archive_url":"https://api.github.com/repos/yuwen41200/gaia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yuwen41200/gaia/downloads","issues_url":"https://api.github.com/repos/yuwen41200/gaia/issues{/number}","pulls_url":"https://api.github.com/repos/yuwen41200/gaia/pulls{/number}","milestones_url":"https://api.github.com/repos/yuwen41200/gaia/milestones{/number}","notifications_url":"https://api.github.com/repos/yuwen41200/gaia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yuwen41200/gaia/labels{/name}","releases_url":"https://api.github.com/repos/yuwen41200/gaia/releases{/id}","created_at":"2015-04-29T11:21:25Z","updated_at":"2015-04-29T16:54:46Z","pushed_at":"2015-06-14T19:51:55Z","git_url":"git://github.com/yuwen41200/gaia.git","ssh_url":"git@github.com:yuwen41200/gaia.git","clone_url":"https://github.com/yuwen41200/gaia.git","svn_url":"https://github.com/yuwen41200/gaia","homepage":"https://wiki.mozilla.org/B2G","size":932780,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mozilla-b2g:master","ref":"master","sha":"1bf2da102560481748ff3f6202fbed5c4daa5832","user":{"login":"mozilla-b2g","id":1261292,"avatar_url":"https://avatars.githubusercontent.com/u/1261292?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla-b2g","html_url":"https://github.com/mozilla-b2g","followers_url":"https://api.github.com/users/mozilla-b2g/followers","following_url":"https://api.github.com/users/mozilla-b2g/following{/other_user}","gists_url":"https://api.github.com/users/mozilla-b2g/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla-b2g/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla-b2g/subscriptions","organizations_url":"https://api.github.com/users/mozilla-b2g/orgs","repos_url":"https://api.github.com/users/mozilla-b2g/repos","events_url":"https://api.github.com/users/mozilla-b2g/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla-b2g/received_events","type":"Organization","site_admin":false},"repo":{"id":2317369,"name":"gaia","full_name":"mozilla-b2g/gaia","owner":{"login":"mozilla-b2g","id":1261292,"avatar_url":"https://avatars.githubusercontent.com/u/1261292?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla-b2g","html_url":"https://github.com/mozilla-b2g","followers_url":"https://api.github.com/users/mozilla-b2g/followers","following_url":"https://api.github.com/users/mozilla-b2g/following{/other_user}","gists_url":"https://api.github.com/users/mozilla-b2g/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla-b2g/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla-b2g/subscriptions","organizations_url":"https://api.github.com/users/mozilla-b2g/orgs","repos_url":"https://api.github.com/users/mozilla-b2g/repos","events_url":"https://api.github.com/users/mozilla-b2g/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla-b2g/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla-b2g/gaia","description":"Gaia is a HTML5-based Phone UI for the Boot 2 Gecko Project. NOTE: For details of what branches are used for what releases, see","fork":false,"url":"https://api.github.com/repos/mozilla-b2g/gaia","forks_url":"https://api.github.com/repos/mozilla-b2g/gaia/forks","keys_url":"https://api.github.com/repos/mozilla-b2g/gaia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla-b2g/gaia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla-b2g/gaia/teams","hooks_url":"https://api.github.com/repos/mozilla-b2g/gaia/hooks","issue_events_url":"https://api.github.com/repos/mozilla-b2g/gaia/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla-b2g/gaia/events","assignees_url":"https://api.github.com/repos/mozilla-b2g/gaia/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla-b2g/gaia/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla-b2g/gaia/tags","blobs_url":"https://api.github.com/repos/mozilla-b2g/gaia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla-b2g/gaia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla-b2g/gaia/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla-b2g/gaia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla-b2g/gaia/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla-b2g/gaia/languages","stargazers_url":"https://api.github.com/repos/mozilla-b2g/gaia/stargazers","contributors_url":"https://api.github.com/repos/mozilla-b2g/gaia/contributors","subscribers_url":"https://api.github.com/repos/mozilla-b2g/gaia/subscribers","subscription_url":"https://api.github.com/repos/mozilla-b2g/gaia/subscription","commits_url":"https://api.github.com/repos/mozilla-b2g/gaia/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla-b2g/gaia/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla-b2g/gaia/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla-b2g/gaia/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla-b2g/gaia/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla-b2g/gaia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla-b2g/gaia/merges","archive_url":"https://api.github.com/repos/mozilla-b2g/gaia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla-b2g/gaia/downloads","issues_url":"https://api.github.com/repos/mozilla-b2g/gaia/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla-b2g/gaia/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla-b2g/gaia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla-b2g/gaia/labels{/name}","releases_url":"https://api.github.com/repos/mozilla-b2g/gaia/releases{/id}","created_at":"2011-09-03T01:38:46Z","updated_at":"2015-06-12T12:24:13Z","pushed_at":"2015-06-15T06:47:08Z","git_url":"git://github.com/mozilla-b2g/gaia.git","ssh_url":"git@github.com:mozilla-b2g/gaia.git","clone_url":"https://github.com/mozilla-b2g/gaia.git","svn_url":"https://github.com/mozilla-b2g/gaia","homepage":"https://wiki.mozilla.org/B2G","size":1636263,"stargazers_count":1941,"watchers_count":1941,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":2338,"mirror_url":null,"open_issues_count":1027,"forks":2338,"open_issues":1027,"watchers":1941,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/30583"},"html":{"href":"https://github.com/mozilla-b2g/gaia/pull/30583"},"issue":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/issues/30583"},"comments":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/issues/30583/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/30583/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/30583/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/statuses/76ad807d29870666c849ed9d34499787575ba317"}}}}