{"action":"created","comment":{"url":"https://api.github.com/repos/andreasgal/j2me.js/pulls/comments/23240363","id":23240363,"diff_hunk":"@@ -1034,3 +1034,22 @@ Native[\"com/nokia/mid/impl/jms/core/Launcher.handleContent.(Ljava/lang/String;)V\n     }));\n };\n \n+function UnimplementedNative(signature, returnValue) {\n+    var doNotWarn;\n+\n+    if (typeof returnValue === \"function\") {\n+      doNotWarn = function() { return returnValue() };","path":"native.js","position":8,"original_position":8,"commit_id":"94cf84f5f988cc8c0ea034c12349ed857ffd6a51","original_commit_id":"94cf84f5f988cc8c0ea034c12349ed857ffd6a51","user":{"login":"TimAbraldes","id":955084,"avatar_url":"https://avatars.githubusercontent.com/u/955084?v=3","gravatar_id":"","url":"https://api.github.com/users/TimAbraldes","html_url":"https://github.com/TimAbraldes","followers_url":"https://api.github.com/users/TimAbraldes/followers","following_url":"https://api.github.com/users/TimAbraldes/following{/other_user}","gists_url":"https://api.github.com/users/TimAbraldes/gists{/gist_id}","starred_url":"https://api.github.com/users/TimAbraldes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimAbraldes/subscriptions","organizations_url":"https://api.github.com/users/TimAbraldes/orgs","repos_url":"https://api.github.com/users/TimAbraldes/repos","events_url":"https://api.github.com/users/TimAbraldes/events{/privacy}","received_events_url":"https://api.github.com/users/TimAbraldes/received_events","type":"User","site_admin":false},"body":"nit: We could probably make this `doNotWarn = returnValue;`","created_at":"2015-01-20T17:52:08Z","updated_at":"2015-01-20T17:52:08Z","html_url":"https://github.com/andreasgal/j2me.js/pull/890#discussion_r23240363","pull_request_url":"https://api.github.com/repos/andreasgal/j2me.js/pulls/890","_links":{"self":{"href":"https://api.github.com/repos/andreasgal/j2me.js/pulls/comments/23240363"},"html":{"href":"https://github.com/andreasgal/j2me.js/pull/890#discussion_r23240363"},"pull_request":{"href":"https://api.github.com/repos/andreasgal/j2me.js/pulls/890"}}},"pull_request":{"url":"https://api.github.com/repos/andreasgal/j2me.js/pulls/890","id":27696895,"html_url":"https://github.com/andreasgal/j2me.js/pull/890","diff_url":"https://github.com/andreasgal/j2me.js/pull/890.diff","patch_url":"https://github.com/andreasgal/j2me.js/pull/890.patch","issue_url":"https://api.github.com/repos/andreasgal/j2me.js/issues/890","number":890,"state":"open","locked":false,"title":"warn once for noisy unimplemented natives","user":{"login":"mykmelez","id":305455,"avatar_url":"https://avatars.githubusercontent.com/u/305455?v=3","gravatar_id":"","url":"https://api.github.com/users/mykmelez","html_url":"https://github.com/mykmelez","followers_url":"https://api.github.com/users/mykmelez/followers","following_url":"https://api.github.com/users/mykmelez/following{/other_user}","gists_url":"https://api.github.com/users/mykmelez/gists{/gist_id}","starred_url":"https://api.github.com/users/mykmelez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mykmelez/subscriptions","organizations_url":"https://api.github.com/users/mykmelez/orgs","repos_url":"https://api.github.com/users/mykmelez/repos","events_url":"https://api.github.com/users/mykmelez/events{/privacy}","received_events_url":"https://api.github.com/users/mykmelez/received_events","type":"User","site_admin":false},"body":"Since dechameleonization, FormLFImpl and ItemLFImpl natives output a gazillion \"not implemented\" warnings, which pegs the log limit on Travis. So this branch adds an *UnimplementedNative* constructor whose instances output only a single warning, the first time they're called.\r\n","created_at":"2015-01-20T17:41:57Z","updated_at":"2015-01-20T17:52:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"41506676b3c7f442ef796004fcd3903db5f38dbd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/andreasgal/j2me.js/pulls/890/commits","review_comments_url":"https://api.github.com/repos/andreasgal/j2me.js/pulls/890/comments","review_comment_url":"https://api.github.com/repos/andreasgal/j2me.js/pulls/comments/{number}","comments_url":"https://api.github.com/repos/andreasgal/j2me.js/issues/890/comments","statuses_url":"https://api.github.com/repos/andreasgal/j2me.js/statuses/94cf84f5f988cc8c0ea034c12349ed857ffd6a51","head":{"label":"mykmelez:warn-once-noisy-native","ref":"warn-once-noisy-native","sha":"94cf84f5f988cc8c0ea034c12349ed857ffd6a51","user":{"login":"mykmelez","id":305455,"avatar_url":"https://avatars.githubusercontent.com/u/305455?v=3","gravatar_id":"","url":"https://api.github.com/users/mykmelez","html_url":"https://github.com/mykmelez","followers_url":"https://api.github.com/users/mykmelez/followers","following_url":"https://api.github.com/users/mykmelez/following{/other_user}","gists_url":"https://api.github.com/users/mykmelez/gists{/gist_id}","starred_url":"https://api.github.com/users/mykmelez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mykmelez/subscriptions","organizations_url":"https://api.github.com/users/mykmelez/orgs","repos_url":"https://api.github.com/users/mykmelez/repos","events_url":"https://api.github.com/users/mykmelez/events{/privacy}","received_events_url":"https://api.github.com/users/mykmelez/received_events","type":"User","site_admin":false},"repo":{"id":22497156,"name":"j2me.js","full_name":"mykmelez/j2me.js","owner":{"login":"mykmelez","id":305455,"avatar_url":"https://avatars.githubusercontent.com/u/305455?v=3","gravatar_id":"","url":"https://api.github.com/users/mykmelez","html_url":"https://github.com/mykmelez","followers_url":"https://api.github.com/users/mykmelez/followers","following_url":"https://api.github.com/users/mykmelez/following{/other_user}","gists_url":"https://api.github.com/users/mykmelez/gists{/gist_id}","starred_url":"https://api.github.com/users/mykmelez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mykmelez/subscriptions","organizations_url":"https://api.github.com/users/mykmelez/orgs","repos_url":"https://api.github.com/users/mykmelez/repos","events_url":"https://api.github.com/users/mykmelez/events{/privacy}","received_events_url":"https://api.github.com/users/mykmelez/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mykmelez/j2me.js","description":"J2ME VM in JavaScript","fork":true,"url":"https://api.github.com/repos/mykmelez/j2me.js","forks_url":"https://api.github.com/repos/mykmelez/j2me.js/forks","keys_url":"https://api.github.com/repos/mykmelez/j2me.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mykmelez/j2me.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mykmelez/j2me.js/teams","hooks_url":"https://api.github.com/repos/mykmelez/j2me.js/hooks","issue_events_url":"https://api.github.com/repos/mykmelez/j2me.js/issues/events{/number}","events_url":"https://api.github.com/repos/mykmelez/j2me.js/events","assignees_url":"https://api.github.com/repos/mykmelez/j2me.js/assignees{/user}","branches_url":"https://api.github.com/repos/mykmelez/j2me.js/branches{/branch}","tags_url":"https://api.github.com/repos/mykmelez/j2me.js/tags","blobs_url":"https://api.github.com/repos/mykmelez/j2me.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mykmelez/j2me.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mykmelez/j2me.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/mykmelez/j2me.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mykmelez/j2me.js/statuses/{sha}","languages_url":"https://api.github.com/repos/mykmelez/j2me.js/languages","stargazers_url":"https://api.github.com/repos/mykmelez/j2me.js/stargazers","contributors_url":"https://api.github.com/repos/mykmelez/j2me.js/contributors","subscribers_url":"https://api.github.com/repos/mykmelez/j2me.js/subscribers","subscription_url":"https://api.github.com/repos/mykmelez/j2me.js/subscription","commits_url":"https://api.github.com/repos/mykmelez/j2me.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/mykmelez/j2me.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/mykmelez/j2me.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/mykmelez/j2me.js/issues/comments/{number}","contents_url":"https://api.github.com/repos/mykmelez/j2me.js/contents/{+path}","compare_url":"https://api.github.com/repos/mykmelez/j2me.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mykmelez/j2me.js/merges","archive_url":"https://api.github.com/repos/mykmelez/j2me.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mykmelez/j2me.js/downloads","issues_url":"https://api.github.com/repos/mykmelez/j2me.js/issues{/number}","pulls_url":"https://api.github.com/repos/mykmelez/j2me.js/pulls{/number}","milestones_url":"https://api.github.com/repos/mykmelez/j2me.js/milestones{/number}","notifications_url":"https://api.github.com/repos/mykmelez/j2me.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mykmelez/j2me.js/labels{/name}","releases_url":"https://api.github.com/repos/mykmelez/j2me.js/releases{/id}","created_at":"2014-08-01T06:02:22Z","updated_at":"2015-01-20T17:17:46Z","pushed_at":"2015-01-20T17:38:38Z","git_url":"git://github.com/mykmelez/j2me.js.git","ssh_url":"git@github.com:mykmelez/j2me.js.git","clone_url":"https://github.com/mykmelez/j2me.js.git","svn_url":"https://github.com/mykmelez/j2me.js","homepage":null,"size":16070,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"andreasgal:master","ref":"master","sha":"5490992808733c2f05aac252771ebe480d9d5181","user":{"login":"andreasgal","id":313748,"avatar_url":"https://avatars.githubusercontent.com/u/313748?v=3","gravatar_id":"","url":"https://api.github.com/users/andreasgal","html_url":"https://github.com/andreasgal","followers_url":"https://api.github.com/users/andreasgal/followers","following_url":"https://api.github.com/users/andreasgal/following{/other_user}","gists_url":"https://api.github.com/users/andreasgal/gists{/gist_id}","starred_url":"https://api.github.com/users/andreasgal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreasgal/subscriptions","organizations_url":"https://api.github.com/users/andreasgal/orgs","repos_url":"https://api.github.com/users/andreasgal/repos","events_url":"https://api.github.com/users/andreasgal/events{/privacy}","received_events_url":"https://api.github.com/users/andreasgal/received_events","type":"User","site_admin":false},"repo":{"id":21724513,"name":"j2me.js","full_name":"andreasgal/j2me.js","owner":{"login":"andreasgal","id":313748,"avatar_url":"https://avatars.githubusercontent.com/u/313748?v=3","gravatar_id":"","url":"https://api.github.com/users/andreasgal","html_url":"https://github.com/andreasgal","followers_url":"https://api.github.com/users/andreasgal/followers","following_url":"https://api.github.com/users/andreasgal/following{/other_user}","gists_url":"https://api.github.com/users/andreasgal/gists{/gist_id}","starred_url":"https://api.github.com/users/andreasgal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreasgal/subscriptions","organizations_url":"https://api.github.com/users/andreasgal/orgs","repos_url":"https://api.github.com/users/andreasgal/repos","events_url":"https://api.github.com/users/andreasgal/events{/privacy}","received_events_url":"https://api.github.com/users/andreasgal/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andreasgal/j2me.js","description":"J2ME VM in JavaScript","fork":false,"url":"https://api.github.com/repos/andreasgal/j2me.js","forks_url":"https://api.github.com/repos/andreasgal/j2me.js/forks","keys_url":"https://api.github.com/repos/andreasgal/j2me.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andreasgal/j2me.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andreasgal/j2me.js/teams","hooks_url":"https://api.github.com/repos/andreasgal/j2me.js/hooks","issue_events_url":"https://api.github.com/repos/andreasgal/j2me.js/issues/events{/number}","events_url":"https://api.github.com/repos/andreasgal/j2me.js/events","assignees_url":"https://api.github.com/repos/andreasgal/j2me.js/assignees{/user}","branches_url":"https://api.github.com/repos/andreasgal/j2me.js/branches{/branch}","tags_url":"https://api.github.com/repos/andreasgal/j2me.js/tags","blobs_url":"https://api.github.com/repos/andreasgal/j2me.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andreasgal/j2me.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andreasgal/j2me.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/andreasgal/j2me.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andreasgal/j2me.js/statuses/{sha}","languages_url":"https://api.github.com/repos/andreasgal/j2me.js/languages","stargazers_url":"https://api.github.com/repos/andreasgal/j2me.js/stargazers","contributors_url":"https://api.github.com/repos/andreasgal/j2me.js/contributors","subscribers_url":"https://api.github.com/repos/andreasgal/j2me.js/subscribers","subscription_url":"https://api.github.com/repos/andreasgal/j2me.js/subscription","commits_url":"https://api.github.com/repos/andreasgal/j2me.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/andreasgal/j2me.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/andreasgal/j2me.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/andreasgal/j2me.js/issues/comments/{number}","contents_url":"https://api.github.com/repos/andreasgal/j2me.js/contents/{+path}","compare_url":"https://api.github.com/repos/andreasgal/j2me.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andreasgal/j2me.js/merges","archive_url":"https://api.github.com/repos/andreasgal/j2me.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andreasgal/j2me.js/downloads","issues_url":"https://api.github.com/repos/andreasgal/j2me.js/issues{/number}","pulls_url":"https://api.github.com/repos/andreasgal/j2me.js/pulls{/number}","milestones_url":"https://api.github.com/repos/andreasgal/j2me.js/milestones{/number}","notifications_url":"https://api.github.com/repos/andreasgal/j2me.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andreasgal/j2me.js/labels{/name}","releases_url":"https://api.github.com/repos/andreasgal/j2me.js/releases{/id}","created_at":"2014-07-11T06:23:27Z","updated_at":"2015-01-20T17:14:58Z","pushed_at":"2015-01-20T17:14:54Z","git_url":"git://github.com/andreasgal/j2me.js.git","ssh_url":"git@github.com:andreasgal/j2me.js.git","clone_url":"https://github.com/andreasgal/j2me.js.git","svn_url":"https://github.com/andreasgal/j2me.js","homepage":null,"size":20345,"stargazers_count":47,"watchers_count":47,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":127,"forks":15,"open_issues":127,"watchers":47,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/andreasgal/j2me.js/pulls/890"},"html":{"href":"https://github.com/andreasgal/j2me.js/pull/890"},"issue":{"href":"https://api.github.com/repos/andreasgal/j2me.js/issues/890"},"comments":{"href":"https://api.github.com/repos/andreasgal/j2me.js/issues/890/comments"},"review_comments":{"href":"https://api.github.com/repos/andreasgal/j2me.js/pulls/890/comments"},"review_comment":{"href":"https://api.github.com/repos/andreasgal/j2me.js/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/andreasgal/j2me.js/pulls/890/commits"},"statuses":{"href":"https://api.github.com/repos/andreasgal/j2me.js/statuses/94cf84f5f988cc8c0ea034c12349ed857ffd6a51"}}}}