{"action":"created","comment":{"url":"https://api.github.com/repos/geosolutions-it/MapStore2/pulls/comments/53433269","id":53433269,"diff_hunk":"@@ -0,0 +1,29 @@\n+/**\n+ * Copyright 2015, GeoSolutions Sas.\n+ * All rights reserved.\n+ *\n+ * This source code is licensed under the BSD-style license found in the\n+ * LICENSE file in the root directory of this source tree.\n+ */\n+\n+var expect = require('expect');\n+var {TOGGLE_FULLSCREEN, toggleFullScreen} = require('../fullScreen');\n+\n+describe('Test correctness of the fullScreen actions', () => {\n+\n+    it('test fullscreen true', () => {\n+        const testVal = true;\n+        const retval = toggleFullScreen(testVal);\n+        expect(retval.type).toBe(TOGGLE_FULLSCREEN);\n+        expect(retval.state).toExist();","path":"web/client/actions/__tests__/fullScreen-test.js","position":18,"original_position":18,"commit_id":"ba3ee6a4556f1cb454da8629f332776279e85798","original_commit_id":"ba3ee6a4556f1cb454da8629f332776279e85798","user":{"login":"mbarto","id":2770528,"avatar_url":"https://avatars.githubusercontent.com/u/2770528?v=3","gravatar_id":"","url":"https://api.github.com/users/mbarto","html_url":"https://github.com/mbarto","followers_url":"https://api.github.com/users/mbarto/followers","following_url":"https://api.github.com/users/mbarto/following{/other_user}","gists_url":"https://api.github.com/users/mbarto/gists{/gist_id}","starred_url":"https://api.github.com/users/mbarto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbarto/subscriptions","organizations_url":"https://api.github.com/users/mbarto/orgs","repos_url":"https://api.github.com/users/mbarto/repos","events_url":"https://api.github.com/users/mbarto/events{/privacy}","received_events_url":"https://api.github.com/users/mbarto/received_events","type":"User","site_admin":false},"body":"the toggleFullScreen returned object does not contain a state property, it only contains type and fullscreen","created_at":"2016-02-19T08:23:24Z","updated_at":"2016-02-19T08:23:24Z","html_url":"https://github.com/geosolutions-it/MapStore2/pull/460#discussion_r53433269","pull_request_url":"https://api.github.com/repos/geosolutions-it/MapStore2/pulls/460","_links":{"self":{"href":"https://api.github.com/repos/geosolutions-it/MapStore2/pulls/comments/53433269"},"html":{"href":"https://github.com/geosolutions-it/MapStore2/pull/460#discussion_r53433269"},"pull_request":{"href":"https://api.github.com/repos/geosolutions-it/MapStore2/pulls/460"}}},"pull_request":{"url":"https://api.github.com/repos/geosolutions-it/MapStore2/pulls/460","id":59850995,"html_url":"https://github.com/geosolutions-it/MapStore2/pull/460","diff_url":"https://github.com/geosolutions-it/MapStore2/pull/460.diff","patch_url":"https://github.com/geosolutions-it/MapStore2/pull/460.patch","issue_url":"https://api.github.com/repos/geosolutions-it/MapStore2/issues/460","number":460,"state":"open","locked":false,"title":"Fix #195 fullscreen support for mobile","user":{"login":"Calbalacrab","id":17131514,"avatar_url":"https://avatars.githubusercontent.com/u/17131514?v=3","gravatar_id":"","url":"https://api.github.com/users/Calbalacrab","html_url":"https://github.com/Calbalacrab","followers_url":"https://api.github.com/users/Calbalacrab/followers","following_url":"https://api.github.com/users/Calbalacrab/following{/other_user}","gists_url":"https://api.github.com/users/Calbalacrab/gists{/gist_id}","starred_url":"https://api.github.com/users/Calbalacrab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Calbalacrab/subscriptions","organizations_url":"https://api.github.com/users/Calbalacrab/orgs","repos_url":"https://api.github.com/users/Calbalacrab/repos","events_url":"https://api.github.com/users/Calbalacrab/events{/privacy}","received_events_url":"https://api.github.com/users/Calbalacrab/received_events","type":"User","site_admin":false},"body":"Add new label into settings menu \"Fullscreen\";\r\nAdd new toggle button into section:\r\n -- ON, enter fullscreen; \r\n-- OFF, exit fullscreen;\r\nAdd metatag and icon for HomeScreen support\r\nLock screen rotation","created_at":"2016-02-18T19:35:39Z","updated_at":"2016-02-19T08:23:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"df9be6eca87483cf8f1c8d02d70c9204c7a40779","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/geosolutions-it/MapStore2/pulls/460/commits","review_comments_url":"https://api.github.com/repos/geosolutions-it/MapStore2/pulls/460/comments","review_comment_url":"https://api.github.com/repos/geosolutions-it/MapStore2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/geosolutions-it/MapStore2/issues/460/comments","statuses_url":"https://api.github.com/repos/geosolutions-it/MapStore2/statuses/ba3ee6a4556f1cb454da8629f332776279e85798","head":{"label":"Calbalacrab:fullscreen-support","ref":"fullscreen-support","sha":"ba3ee6a4556f1cb454da8629f332776279e85798","user":{"login":"Calbalacrab","id":17131514,"avatar_url":"https://avatars.githubusercontent.com/u/17131514?v=3","gravatar_id":"","url":"https://api.github.com/users/Calbalacrab","html_url":"https://github.com/Calbalacrab","followers_url":"https://api.github.com/users/Calbalacrab/followers","following_url":"https://api.github.com/users/Calbalacrab/following{/other_user}","gists_url":"https://api.github.com/users/Calbalacrab/gists{/gist_id}","starred_url":"https://api.github.com/users/Calbalacrab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Calbalacrab/subscriptions","organizations_url":"https://api.github.com/users/Calbalacrab/orgs","repos_url":"https://api.github.com/users/Calbalacrab/repos","events_url":"https://api.github.com/users/Calbalacrab/events{/privacy}","received_events_url":"https://api.github.com/users/Calbalacrab/received_events","type":"User","site_admin":false},"repo":{"id":51332539,"name":"MapStore2","full_name":"Calbalacrab/MapStore2","owner":{"login":"Calbalacrab","id":17131514,"avatar_url":"https://avatars.githubusercontent.com/u/17131514?v=3","gravatar_id":"","url":"https://api.github.com/users/Calbalacrab","html_url":"https://github.com/Calbalacrab","followers_url":"https://api.github.com/users/Calbalacrab/followers","following_url":"https://api.github.com/users/Calbalacrab/following{/other_user}","gists_url":"https://api.github.com/users/Calbalacrab/gists{/gist_id}","starred_url":"https://api.github.com/users/Calbalacrab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Calbalacrab/subscriptions","organizations_url":"https://api.github.com/users/Calbalacrab/orgs","repos_url":"https://api.github.com/users/Calbalacrab/repos","events_url":"https://api.github.com/users/Calbalacrab/events{/privacy}","received_events_url":"https://api.github.com/users/Calbalacrab/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Calbalacrab/MapStore2","description":"Create, save and share maps and mashup in a simple and intuitive way!","fork":true,"url":"https://api.github.com/repos/Calbalacrab/MapStore2","forks_url":"https://api.github.com/repos/Calbalacrab/MapStore2/forks","keys_url":"https://api.github.com/repos/Calbalacrab/MapStore2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Calbalacrab/MapStore2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Calbalacrab/MapStore2/teams","hooks_url":"https://api.github.com/repos/Calbalacrab/MapStore2/hooks","issue_events_url":"https://api.github.com/repos/Calbalacrab/MapStore2/issues/events{/number}","events_url":"https://api.github.com/repos/Calbalacrab/MapStore2/events","assignees_url":"https://api.github.com/repos/Calbalacrab/MapStore2/assignees{/user}","branches_url":"https://api.github.com/repos/Calbalacrab/MapStore2/branches{/branch}","tags_url":"https://api.github.com/repos/Calbalacrab/MapStore2/tags","blobs_url":"https://api.github.com/repos/Calbalacrab/MapStore2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Calbalacrab/MapStore2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Calbalacrab/MapStore2/git/refs{/sha}","trees_url":"https://api.github.com/repos/Calbalacrab/MapStore2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Calbalacrab/MapStore2/statuses/{sha}","languages_url":"https://api.github.com/repos/Calbalacrab/MapStore2/languages","stargazers_url":"https://api.github.com/repos/Calbalacrab/MapStore2/stargazers","contributors_url":"https://api.github.com/repos/Calbalacrab/MapStore2/contributors","subscribers_url":"https://api.github.com/repos/Calbalacrab/MapStore2/subscribers","subscription_url":"https://api.github.com/repos/Calbalacrab/MapStore2/subscription","commits_url":"https://api.github.com/repos/Calbalacrab/MapStore2/commits{/sha}","git_commits_url":"https://api.github.com/repos/Calbalacrab/MapStore2/git/commits{/sha}","comments_url":"https://api.github.com/repos/Calbalacrab/MapStore2/comments{/number}","issue_comment_url":"https://api.github.com/repos/Calbalacrab/MapStore2/issues/comments{/number}","contents_url":"https://api.github.com/repos/Calbalacrab/MapStore2/contents/{+path}","compare_url":"https://api.github.com/repos/Calbalacrab/MapStore2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Calbalacrab/MapStore2/merges","archive_url":"https://api.github.com/repos/Calbalacrab/MapStore2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Calbalacrab/MapStore2/downloads","issues_url":"https://api.github.com/repos/Calbalacrab/MapStore2/issues{/number}","pulls_url":"https://api.github.com/repos/Calbalacrab/MapStore2/pulls{/number}","milestones_url":"https://api.github.com/repos/Calbalacrab/MapStore2/milestones{/number}","notifications_url":"https://api.github.com/repos/Calbalacrab/MapStore2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Calbalacrab/MapStore2/labels{/name}","releases_url":"https://api.github.com/repos/Calbalacrab/MapStore2/releases{/id}","deployments_url":"https://api.github.com/repos/Calbalacrab/MapStore2/deployments","created_at":"2016-02-08T22:40:42Z","updated_at":"2016-02-08T22:40:43Z","pushed_at":"2016-02-18T19:32:25Z","git_url":"git://github.com/Calbalacrab/MapStore2.git","ssh_url":"git@github.com:Calbalacrab/MapStore2.git","clone_url":"https://github.com/Calbalacrab/MapStore2.git","svn_url":"https://github.com/Calbalacrab/MapStore2","homepage":"http://mapstore2.geo-solutions.it/","size":9391,"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":"geosolutions-it:master","ref":"master","sha":"da7a65df24f2956f2db7e57d1ebb6f904cbb0b67","user":{"login":"geosolutions-it","id":775710,"avatar_url":"https://avatars.githubusercontent.com/u/775710?v=3","gravatar_id":"","url":"https://api.github.com/users/geosolutions-it","html_url":"https://github.com/geosolutions-it","followers_url":"https://api.github.com/users/geosolutions-it/followers","following_url":"https://api.github.com/users/geosolutions-it/following{/other_user}","gists_url":"https://api.github.com/users/geosolutions-it/gists{/gist_id}","starred_url":"https://api.github.com/users/geosolutions-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geosolutions-it/subscriptions","organizations_url":"https://api.github.com/users/geosolutions-it/orgs","repos_url":"https://api.github.com/users/geosolutions-it/repos","events_url":"https://api.github.com/users/geosolutions-it/events{/privacy}","received_events_url":"https://api.github.com/users/geosolutions-it/received_events","type":"Organization","site_admin":false},"repo":{"id":39382076,"name":"MapStore2","full_name":"geosolutions-it/MapStore2","owner":{"login":"geosolutions-it","id":775710,"avatar_url":"https://avatars.githubusercontent.com/u/775710?v=3","gravatar_id":"","url":"https://api.github.com/users/geosolutions-it","html_url":"https://github.com/geosolutions-it","followers_url":"https://api.github.com/users/geosolutions-it/followers","following_url":"https://api.github.com/users/geosolutions-it/following{/other_user}","gists_url":"https://api.github.com/users/geosolutions-it/gists{/gist_id}","starred_url":"https://api.github.com/users/geosolutions-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geosolutions-it/subscriptions","organizations_url":"https://api.github.com/users/geosolutions-it/orgs","repos_url":"https://api.github.com/users/geosolutions-it/repos","events_url":"https://api.github.com/users/geosolutions-it/events{/privacy}","received_events_url":"https://api.github.com/users/geosolutions-it/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/geosolutions-it/MapStore2","description":"Create, save and share maps and mashup in a simple and intuitive way!","fork":false,"url":"https://api.github.com/repos/geosolutions-it/MapStore2","forks_url":"https://api.github.com/repos/geosolutions-it/MapStore2/forks","keys_url":"https://api.github.com/repos/geosolutions-it/MapStore2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/geosolutions-it/MapStore2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/geosolutions-it/MapStore2/teams","hooks_url":"https://api.github.com/repos/geosolutions-it/MapStore2/hooks","issue_events_url":"https://api.github.com/repos/geosolutions-it/MapStore2/issues/events{/number}","events_url":"https://api.github.com/repos/geosolutions-it/MapStore2/events","assignees_url":"https://api.github.com/repos/geosolutions-it/MapStore2/assignees{/user}","branches_url":"https://api.github.com/repos/geosolutions-it/MapStore2/branches{/branch}","tags_url":"https://api.github.com/repos/geosolutions-it/MapStore2/tags","blobs_url":"https://api.github.com/repos/geosolutions-it/MapStore2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/geosolutions-it/MapStore2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/geosolutions-it/MapStore2/git/refs{/sha}","trees_url":"https://api.github.com/repos/geosolutions-it/MapStore2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/geosolutions-it/MapStore2/statuses/{sha}","languages_url":"https://api.github.com/repos/geosolutions-it/MapStore2/languages","stargazers_url":"https://api.github.com/repos/geosolutions-it/MapStore2/stargazers","contributors_url":"https://api.github.com/repos/geosolutions-it/MapStore2/contributors","subscribers_url":"https://api.github.com/repos/geosolutions-it/MapStore2/subscribers","subscription_url":"https://api.github.com/repos/geosolutions-it/MapStore2/subscription","commits_url":"https://api.github.com/repos/geosolutions-it/MapStore2/commits{/sha}","git_commits_url":"https://api.github.com/repos/geosolutions-it/MapStore2/git/commits{/sha}","comments_url":"https://api.github.com/repos/geosolutions-it/MapStore2/comments{/number}","issue_comment_url":"https://api.github.com/repos/geosolutions-it/MapStore2/issues/comments{/number}","contents_url":"https://api.github.com/repos/geosolutions-it/MapStore2/contents/{+path}","compare_url":"https://api.github.com/repos/geosolutions-it/MapStore2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/geosolutions-it/MapStore2/merges","archive_url":"https://api.github.com/repos/geosolutions-it/MapStore2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/geosolutions-it/MapStore2/downloads","issues_url":"https://api.github.com/repos/geosolutions-it/MapStore2/issues{/number}","pulls_url":"https://api.github.com/repos/geosolutions-it/MapStore2/pulls{/number}","milestones_url":"https://api.github.com/repos/geosolutions-it/MapStore2/milestones{/number}","notifications_url":"https://api.github.com/repos/geosolutions-it/MapStore2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/geosolutions-it/MapStore2/labels{/name}","releases_url":"https://api.github.com/repos/geosolutions-it/MapStore2/releases{/id}","deployments_url":"https://api.github.com/repos/geosolutions-it/MapStore2/deployments","created_at":"2015-07-20T12:20:59Z","updated_at":"2016-01-11T17:22:07Z","pushed_at":"2016-02-18T19:35:41Z","git_url":"git://github.com/geosolutions-it/MapStore2.git","ssh_url":"git@github.com:geosolutions-it/MapStore2.git","clone_url":"https://github.com/geosolutions-it/MapStore2.git","svn_url":"https://github.com/geosolutions-it/MapStore2","homepage":"http://mapstore2.geo-solutions.it/","size":9619,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":14,"mirror_url":null,"open_issues_count":59,"forks":14,"open_issues":59,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/geosolutions-it/MapStore2/pulls/460"},"html":{"href":"https://github.com/geosolutions-it/MapStore2/pull/460"},"issue":{"href":"https://api.github.com/repos/geosolutions-it/MapStore2/issues/460"},"comments":{"href":"https://api.github.com/repos/geosolutions-it/MapStore2/issues/460/comments"},"review_comments":{"href":"https://api.github.com/repos/geosolutions-it/MapStore2/pulls/460/comments"},"review_comment":{"href":"https://api.github.com/repos/geosolutions-it/MapStore2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/geosolutions-it/MapStore2/pulls/460/commits"},"statuses":{"href":"https://api.github.com/repos/geosolutions-it/MapStore2/statuses/ba3ee6a4556f1cb454da8629f332776279e85798"}}}}