{"action":"created","comment":{"url":"https://api.github.com/repos/poetic/ember-cli-cordova/pulls/comments/32374668","id":32374668,"diff_hunk":"@@ -0,0 +1,48 @@\n+import Ember from 'ember';","path":"app/services/cordova.js","position":1,"original_position":1,"commit_id":"c6f232ce1b55ae4c86c704a31c7e32415a4616c4","original_commit_id":"c6f232ce1b55ae4c86c704a31c7e32415a4616c4","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"'import' is only available in ES6 (use esnext option).","created_at":"2015-06-13T22:56:37Z","updated_at":"2015-06-13T22:56:37Z","html_url":"https://github.com/poetic/ember-cli-cordova/pull/155#discussion_r32374668","pull_request_url":"https://api.github.com/repos/poetic/ember-cli-cordova/pulls/155","_links":{"self":{"href":"https://api.github.com/repos/poetic/ember-cli-cordova/pulls/comments/32374668"},"html":{"href":"https://github.com/poetic/ember-cli-cordova/pull/155#discussion_r32374668"},"pull_request":{"href":"https://api.github.com/repos/poetic/ember-cli-cordova/pulls/155"}}},"pull_request":{"url":"https://api.github.com/repos/poetic/ember-cli-cordova/pulls/155","id":37632832,"html_url":"https://github.com/poetic/ember-cli-cordova/pull/155","diff_url":"https://github.com/poetic/ember-cli-cordova/pull/155.diff","patch_url":"https://github.com/poetic/ember-cli-cordova/pull/155.patch","issue_url":"https://api.github.com/repos/poetic/ember-cli-cordova/issues/155","number":155,"state":"open","locked":false,"title":"add service & mixin for cordova's emitted events","user":{"login":"anulman","id":721128,"avatar_url":"https://avatars.githubusercontent.com/u/721128?v=3","gravatar_id":"","url":"https://api.github.com/users/anulman","html_url":"https://github.com/anulman","followers_url":"https://api.github.com/users/anulman/followers","following_url":"https://api.github.com/users/anulman/following{/other_user}","gists_url":"https://api.github.com/users/anulman/gists{/gist_id}","starred_url":"https://api.github.com/users/anulman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anulman/subscriptions","organizations_url":"https://api.github.com/users/anulman/orgs","repos_url":"https://api.github.com/users/anulman/repos","events_url":"https://api.github.com/users/anulman/events{/privacy}","received_events_url":"https://api.github.com/users/anulman/received_events","type":"User","site_admin":false},"body":"Found myself repeating some boilerplate between several projects, and thought I might share back.\r\n\r\nHappy to add tests and/or extend the dummy app with these functions, just figured I should solicit feedback first :)\r\n\r\nThanks for all the hard work, `ember-cli-cordova` is a super helpful addon!","created_at":"2015-06-13T22:56:30Z","updated_at":"2015-06-13T22:56:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0119f1c6d44a1f30a7395709cf2fb12a744bb1d1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/poetic/ember-cli-cordova/pulls/155/commits","review_comments_url":"https://api.github.com/repos/poetic/ember-cli-cordova/pulls/155/comments","review_comment_url":"https://api.github.com/repos/poetic/ember-cli-cordova/pulls/comments{/number}","comments_url":"https://api.github.com/repos/poetic/ember-cli-cordova/issues/155/comments","statuses_url":"https://api.github.com/repos/poetic/ember-cli-cordova/statuses/c6f232ce1b55ae4c86c704a31c7e32415a4616c4","head":{"label":"isleofcode:feature/cordova-service-mixin","ref":"feature/cordova-service-mixin","sha":"c6f232ce1b55ae4c86c704a31c7e32415a4616c4","user":{"login":"isleofcode","id":8960029,"avatar_url":"https://avatars.githubusercontent.com/u/8960029?v=3","gravatar_id":"","url":"https://api.github.com/users/isleofcode","html_url":"https://github.com/isleofcode","followers_url":"https://api.github.com/users/isleofcode/followers","following_url":"https://api.github.com/users/isleofcode/following{/other_user}","gists_url":"https://api.github.com/users/isleofcode/gists{/gist_id}","starred_url":"https://api.github.com/users/isleofcode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isleofcode/subscriptions","organizations_url":"https://api.github.com/users/isleofcode/orgs","repos_url":"https://api.github.com/users/isleofcode/repos","events_url":"https://api.github.com/users/isleofcode/events{/privacy}","received_events_url":"https://api.github.com/users/isleofcode/received_events","type":"Organization","site_admin":false},"repo":{"id":37390720,"name":"ember-cli-cordova","full_name":"isleofcode/ember-cli-cordova","owner":{"login":"isleofcode","id":8960029,"avatar_url":"https://avatars.githubusercontent.com/u/8960029?v=3","gravatar_id":"","url":"https://api.github.com/users/isleofcode","html_url":"https://github.com/isleofcode","followers_url":"https://api.github.com/users/isleofcode/followers","following_url":"https://api.github.com/users/isleofcode/following{/other_user}","gists_url":"https://api.github.com/users/isleofcode/gists{/gist_id}","starred_url":"https://api.github.com/users/isleofcode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isleofcode/subscriptions","organizations_url":"https://api.github.com/users/isleofcode/orgs","repos_url":"https://api.github.com/users/isleofcode/repos","events_url":"https://api.github.com/users/isleofcode/events{/privacy}","received_events_url":"https://api.github.com/users/isleofcode/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/isleofcode/ember-cli-cordova","description":"A tool for creating hybrid apps using a combination of ember-cli and cordova","fork":true,"url":"https://api.github.com/repos/isleofcode/ember-cli-cordova","forks_url":"https://api.github.com/repos/isleofcode/ember-cli-cordova/forks","keys_url":"https://api.github.com/repos/isleofcode/ember-cli-cordova/keys{/key_id}","collaborators_url":"https://api.github.com/repos/isleofcode/ember-cli-cordova/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/isleofcode/ember-cli-cordova/teams","hooks_url":"https://api.github.com/repos/isleofcode/ember-cli-cordova/hooks","issue_events_url":"https://api.github.com/repos/isleofcode/ember-cli-cordova/issues/events{/number}","events_url":"https://api.github.com/repos/isleofcode/ember-cli-cordova/events","assignees_url":"https://api.github.com/repos/isleofcode/ember-cli-cordova/assignees{/user}","branches_url":"https://api.github.com/repos/isleofcode/ember-cli-cordova/branches{/branch}","tags_url":"https://api.github.com/repos/isleofcode/ember-cli-cordova/tags","blobs_url":"https://api.github.com/repos/isleofcode/ember-cli-cordova/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/isleofcode/ember-cli-cordova/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/isleofcode/ember-cli-cordova/git/refs{/sha}","trees_url":"https://api.github.com/repos/isleofcode/ember-cli-cordova/git/trees{/sha}","statuses_url":"https://api.github.com/repos/isleofcode/ember-cli-cordova/statuses/{sha}","languages_url":"https://api.github.com/repos/isleofcode/ember-cli-cordova/languages","stargazers_url":"https://api.github.com/repos/isleofcode/ember-cli-cordova/stargazers","contributors_url":"https://api.github.com/repos/isleofcode/ember-cli-cordova/contributors","subscribers_url":"https://api.github.com/repos/isleofcode/ember-cli-cordova/subscribers","subscription_url":"https://api.github.com/repos/isleofcode/ember-cli-cordova/subscription","commits_url":"https://api.github.com/repos/isleofcode/ember-cli-cordova/commits{/sha}","git_commits_url":"https://api.github.com/repos/isleofcode/ember-cli-cordova/git/commits{/sha}","comments_url":"https://api.github.com/repos/isleofcode/ember-cli-cordova/comments{/number}","issue_comment_url":"https://api.github.com/repos/isleofcode/ember-cli-cordova/issues/comments{/number}","contents_url":"https://api.github.com/repos/isleofcode/ember-cli-cordova/contents/{+path}","compare_url":"https://api.github.com/repos/isleofcode/ember-cli-cordova/compare/{base}...{head}","merges_url":"https://api.github.com/repos/isleofcode/ember-cli-cordova/merges","archive_url":"https://api.github.com/repos/isleofcode/ember-cli-cordova/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/isleofcode/ember-cli-cordova/downloads","issues_url":"https://api.github.com/repos/isleofcode/ember-cli-cordova/issues{/number}","pulls_url":"https://api.github.com/repos/isleofcode/ember-cli-cordova/pulls{/number}","milestones_url":"https://api.github.com/repos/isleofcode/ember-cli-cordova/milestones{/number}","notifications_url":"https://api.github.com/repos/isleofcode/ember-cli-cordova/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/isleofcode/ember-cli-cordova/labels{/name}","releases_url":"https://api.github.com/repos/isleofcode/ember-cli-cordova/releases{/id}","created_at":"2015-06-13T22:51:01Z","updated_at":"2015-06-13T22:51:01Z","pushed_at":"2015-06-13T22:53:03Z","git_url":"git://github.com/isleofcode/ember-cli-cordova.git","ssh_url":"git@github.com:isleofcode/ember-cli-cordova.git","clone_url":"https://github.com/isleofcode/ember-cli-cordova.git","svn_url":"https://github.com/isleofcode/ember-cli-cordova","homepage":null,"size":2274,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"poetic:master","ref":"master","sha":"69d2791973db40c6e3ae8123c6c65013e1d4ebe9","user":{"login":"poetic","id":102288,"avatar_url":"https://avatars.githubusercontent.com/u/102288?v=3","gravatar_id":"","url":"https://api.github.com/users/poetic","html_url":"https://github.com/poetic","followers_url":"https://api.github.com/users/poetic/followers","following_url":"https://api.github.com/users/poetic/following{/other_user}","gists_url":"https://api.github.com/users/poetic/gists{/gist_id}","starred_url":"https://api.github.com/users/poetic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poetic/subscriptions","organizations_url":"https://api.github.com/users/poetic/orgs","repos_url":"https://api.github.com/users/poetic/repos","events_url":"https://api.github.com/users/poetic/events{/privacy}","received_events_url":"https://api.github.com/users/poetic/received_events","type":"Organization","site_admin":false},"repo":{"id":19561489,"name":"ember-cli-cordova","full_name":"poetic/ember-cli-cordova","owner":{"login":"poetic","id":102288,"avatar_url":"https://avatars.githubusercontent.com/u/102288?v=3","gravatar_id":"","url":"https://api.github.com/users/poetic","html_url":"https://github.com/poetic","followers_url":"https://api.github.com/users/poetic/followers","following_url":"https://api.github.com/users/poetic/following{/other_user}","gists_url":"https://api.github.com/users/poetic/gists{/gist_id}","starred_url":"https://api.github.com/users/poetic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poetic/subscriptions","organizations_url":"https://api.github.com/users/poetic/orgs","repos_url":"https://api.github.com/users/poetic/repos","events_url":"https://api.github.com/users/poetic/events{/privacy}","received_events_url":"https://api.github.com/users/poetic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/poetic/ember-cli-cordova","description":"A tool for creating hybrid apps using a combination of ember-cli and cordova","fork":false,"url":"https://api.github.com/repos/poetic/ember-cli-cordova","forks_url":"https://api.github.com/repos/poetic/ember-cli-cordova/forks","keys_url":"https://api.github.com/repos/poetic/ember-cli-cordova/keys{/key_id}","collaborators_url":"https://api.github.com/repos/poetic/ember-cli-cordova/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/poetic/ember-cli-cordova/teams","hooks_url":"https://api.github.com/repos/poetic/ember-cli-cordova/hooks","issue_events_url":"https://api.github.com/repos/poetic/ember-cli-cordova/issues/events{/number}","events_url":"https://api.github.com/repos/poetic/ember-cli-cordova/events","assignees_url":"https://api.github.com/repos/poetic/ember-cli-cordova/assignees{/user}","branches_url":"https://api.github.com/repos/poetic/ember-cli-cordova/branches{/branch}","tags_url":"https://api.github.com/repos/poetic/ember-cli-cordova/tags","blobs_url":"https://api.github.com/repos/poetic/ember-cli-cordova/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/poetic/ember-cli-cordova/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/poetic/ember-cli-cordova/git/refs{/sha}","trees_url":"https://api.github.com/repos/poetic/ember-cli-cordova/git/trees{/sha}","statuses_url":"https://api.github.com/repos/poetic/ember-cli-cordova/statuses/{sha}","languages_url":"https://api.github.com/repos/poetic/ember-cli-cordova/languages","stargazers_url":"https://api.github.com/repos/poetic/ember-cli-cordova/stargazers","contributors_url":"https://api.github.com/repos/poetic/ember-cli-cordova/contributors","subscribers_url":"https://api.github.com/repos/poetic/ember-cli-cordova/subscribers","subscription_url":"https://api.github.com/repos/poetic/ember-cli-cordova/subscription","commits_url":"https://api.github.com/repos/poetic/ember-cli-cordova/commits{/sha}","git_commits_url":"https://api.github.com/repos/poetic/ember-cli-cordova/git/commits{/sha}","comments_url":"https://api.github.com/repos/poetic/ember-cli-cordova/comments{/number}","issue_comment_url":"https://api.github.com/repos/poetic/ember-cli-cordova/issues/comments{/number}","contents_url":"https://api.github.com/repos/poetic/ember-cli-cordova/contents/{+path}","compare_url":"https://api.github.com/repos/poetic/ember-cli-cordova/compare/{base}...{head}","merges_url":"https://api.github.com/repos/poetic/ember-cli-cordova/merges","archive_url":"https://api.github.com/repos/poetic/ember-cli-cordova/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/poetic/ember-cli-cordova/downloads","issues_url":"https://api.github.com/repos/poetic/ember-cli-cordova/issues{/number}","pulls_url":"https://api.github.com/repos/poetic/ember-cli-cordova/pulls{/number}","milestones_url":"https://api.github.com/repos/poetic/ember-cli-cordova/milestones{/number}","notifications_url":"https://api.github.com/repos/poetic/ember-cli-cordova/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/poetic/ember-cli-cordova/labels{/name}","releases_url":"https://api.github.com/repos/poetic/ember-cli-cordova/releases{/id}","created_at":"2014-05-08T05:19:18Z","updated_at":"2015-06-12T09:10:32Z","pushed_at":"2015-06-13T22:56:31Z","git_url":"git://github.com/poetic/ember-cli-cordova.git","ssh_url":"git@github.com:poetic/ember-cli-cordova.git","clone_url":"https://github.com/poetic/ember-cli-cordova.git","svn_url":"https://github.com/poetic/ember-cli-cordova","homepage":null,"size":2274,"stargazers_count":284,"watchers_count":284,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":36,"mirror_url":null,"open_issues_count":29,"forks":36,"open_issues":29,"watchers":284,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/poetic/ember-cli-cordova/pulls/155"},"html":{"href":"https://github.com/poetic/ember-cli-cordova/pull/155"},"issue":{"href":"https://api.github.com/repos/poetic/ember-cli-cordova/issues/155"},"comments":{"href":"https://api.github.com/repos/poetic/ember-cli-cordova/issues/155/comments"},"review_comments":{"href":"https://api.github.com/repos/poetic/ember-cli-cordova/pulls/155/comments"},"review_comment":{"href":"https://api.github.com/repos/poetic/ember-cli-cordova/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/poetic/ember-cli-cordova/pulls/155/commits"},"statuses":{"href":"https://api.github.com/repos/poetic/ember-cli-cordova/statuses/c6f232ce1b55ae4c86c704a31c7e32415a4616c4"}}}}