{"action":"created","comment":{"url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/pulls/comments/53571219","id":53571219,"diff_hunk":"@@ -1 +1,108 @@\n-tinymce.PluginManager.add(\"filemanager\",function(e){function n(t){0===e.settings.external_filemanager_path.toLowerCase().indexOf(t.origin.toLowerCase())&&\"responsivefilemanager\"===t.data.sender&&(tinymce.activeEditor.windowManager.getParams().setUrl(t.data.url),tinymce.activeEditor.windowManager.close(),window.removeEventListener?window.removeEventListener(\"message\",n,!1):window.detachEvent(\"onmessage\",n))}function t(t,i,a,s){var r=$(window).innerWidth()-30,g=$(window).innerHeight()-60;if(r>1800&&(r=1800),g>1200&&(g=1200),r>600){var d=(r-20)%138;r=r-d+10}urltype=2,\"image\"==a&&(urltype=1),\"media\"==a&&(urltype=3);var o=\"RESPONSIVE FileManager\";\"undefined\"!=typeof e.settings.filemanager_title&&e.settings.filemanager_title&&(o=e.settings.filemanager_title);var l=\"key\";\"undefined\"!=typeof e.settings.filemanager_access_key&&e.settings.filemanager_access_key&&(l=e.settings.filemanager_access_key);var f=\"\";\"undefined\"!=typeof e.settings.filemanager_sort_by&&e.settings.filemanager_sort_by&&(f=\"&sort_by=\"+e.settings.filemanager_sort_by);var m=\"false\";\"undefined\"!=typeof e.settings.filemanager_descending&&e.settings.filemanager_descending&&(m=e.settings.filemanager_descending);var c=\"\";\"undefined\"!=typeof e.settings.filemanager_subfolder&&e.settings.filemanager_subfolder&&(c=\"&fldr=\"+e.settings.filemanager_subfolder);var v=\"\";\"undefined\"!=typeof e.settings.filemanager_crossdomain&&e.settings.filemanager_crossdomain&&(v=\"&crossdomain=1\",window.addEventListener?window.addEventListener(\"message\",n,!1):window.attachEvent(\"onmessage\",n)),tinymce.activeEditor.windowManager.open({title:o,file:e.settings.external_filemanager_path+\"dialog.php?type=\"+urltype+\"&descending=\"+m+f+c+v+\"&lang=\"+e.settings.language+\"&akey=\"+l,width:r,height:g,resizable:!0,maximizable:!0,inline:1},{setUrl:function(n){var i=s.document.getElementById(t);if(i.value=e.convertURL(n),\"createEvent\"in document){var a=document.createEvent(\"HTMLEvents\");a.initEvent(\"change\",!1,!0),i.dispatchEvent(a)}else i.fireEvent(\"onchange\")}})}return tinymce.activeEditor.settings.file_browser_callback=t,!1});\n\\ No newline at end of file\n+/**\n+ * plugin.js\n+ *\n+ * Copyright, Alberto Peripolli\n+ * Released under Creative Commons Attribution-NonCommercial 3.0 Unported License.\n+ *\n+ * Contributing: https://github.com/trippo/ResponsiveFilemanager\n+ */\n+\n+/**\n+ * plugin.js\n+ *\n+ * Copyright, Alberto Peripolli\n+ * Released under Creative Commons Attribution-NonCommercial 3.0 Unported License.\n+ *\n+ * Contributing: https://github.com/trippo/ResponsiveFilemanager\n+ */\n+\n+tinymce.PluginManager.add('filemanager', function(editor) {\n+\n+\ttinymce.activeEditor.settings.file_browser_callback = filemanager;\n+\n+\tfunction filemanager_onMessage(event){\n+\t\tif(editor.settings.external_filemanager_path.toLowerCase().indexOf(event.origin.toLowerCase()) === 0){\n+\t\t\tif(event.data.sender === 'responsivefilemanager'){\n+\t\t\t\ttinymce.activeEditor.windowManager.getParams().setUrl(event.data.url);\n+\t\t\t\ttinymce.activeEditor.windowManager.close();\n+\n+\t\t\t\t// Remove event listener for a message from ResponsiveFilemanager\n+\t\t\t\tif(window.removeEventListener){\n+\t\t\t\t\twindow.removeEventListener('message', filemanager_onMessage, false);\n+\t\t\t\t} else {\n+\t\t\t\t\twindow.detachEvent('onmessage', filemanager_onMessage);\n+\t\t\t\t}\n+\t\t\t}\n+\t\t}\n+\t}\n+\t\n+\tfunction filemanager (id, value, type, win) {\n+\t\tvar width = window.innerWidth-30;\n+\t\tvar height = window.innerHeight-60;\n+\t\tif(width > 1800) width=1800;\n+\t\tif(height > 1200) height=1200;\n+\t\tif(width>600){\n+\t\t\tvar width_reduce = (width - 20) % 138;\n+\t\t\twidth = width - width_reduce + 10;\n+\t\t}\n+\n+\t\t// DEFAULT AS FILE\n+\t\turltype=2;\n+\t\tif (type=='image') { urltype=1; }\n+\t\tif (type=='media') { urltype=3; }","path":"public/filemanager/plugin.min.js","position":54,"original_position":54,"commit_id":"b246d14c1234447e5c379f5ad19ba8a9c1a05730","original_commit_id":"b246d14c1234447e5c379f5ad19ba8a9c1a05730","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Mixed double and single quotes.","created_at":"2016-02-21T19:04:50Z","updated_at":"2016-02-21T19:04:50Z","html_url":"https://github.com/Leandro-b-03/Controle-de-Horas/pull/9#discussion_r53571219","pull_request_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/pulls/comments/53571219"},"html":{"href":"https://github.com/Leandro-b-03/Controle-de-Horas/pull/9#discussion_r53571219"},"pull_request":{"href":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/pulls/9","id":60099276,"html_url":"https://github.com/Leandro-b-03/Controle-de-Horas/pull/9","diff_url":"https://github.com/Leandro-b-03/Controle-de-Horas/pull/9.diff","patch_url":"https://github.com/Leandro-b-03/Controle-de-Horas/pull/9.patch","issue_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/issues/9","number":9,"state":"closed","locked":false,"title":"New things and fixes","user":{"login":"Leandro-b-03","id":2287942,"avatar_url":"https://avatars.githubusercontent.com/u/2287942?v=3","gravatar_id":"","url":"https://api.github.com/users/Leandro-b-03","html_url":"https://github.com/Leandro-b-03","followers_url":"https://api.github.com/users/Leandro-b-03/followers","following_url":"https://api.github.com/users/Leandro-b-03/following{/other_user}","gists_url":"https://api.github.com/users/Leandro-b-03/gists{/gist_id}","starred_url":"https://api.github.com/users/Leandro-b-03/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Leandro-b-03/subscriptions","organizations_url":"https://api.github.com/users/Leandro-b-03/orgs","repos_url":"https://api.github.com/users/Leandro-b-03/repos","events_url":"https://api.github.com/users/Leandro-b-03/events{/privacy}","received_events_url":"https://api.github.com/users/Leandro-b-03/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-02-21T19:04:01Z","updated_at":"2016-02-21T19:04:50Z","closed_at":"2016-02-21T19:04:50Z","merged_at":"2016-02-21T19:04:50Z","merge_commit_sha":"ead5cf78a6f7fc83fdf64bacbc19dc571bd29602","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/pulls/9/commits","review_comments_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/pulls/9/comments","review_comment_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/issues/9/comments","statuses_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/statuses/b246d14c1234447e5c379f5ad19ba8a9c1a05730","head":{"label":"Leandro-b-03:Dev","ref":"Dev","sha":"b246d14c1234447e5c379f5ad19ba8a9c1a05730","user":{"login":"Leandro-b-03","id":2287942,"avatar_url":"https://avatars.githubusercontent.com/u/2287942?v=3","gravatar_id":"","url":"https://api.github.com/users/Leandro-b-03","html_url":"https://github.com/Leandro-b-03","followers_url":"https://api.github.com/users/Leandro-b-03/followers","following_url":"https://api.github.com/users/Leandro-b-03/following{/other_user}","gists_url":"https://api.github.com/users/Leandro-b-03/gists{/gist_id}","starred_url":"https://api.github.com/users/Leandro-b-03/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Leandro-b-03/subscriptions","organizations_url":"https://api.github.com/users/Leandro-b-03/orgs","repos_url":"https://api.github.com/users/Leandro-b-03/repos","events_url":"https://api.github.com/users/Leandro-b-03/events{/privacy}","received_events_url":"https://api.github.com/users/Leandro-b-03/received_events","type":"User","site_admin":false},"repo":{"id":37380875,"name":"Controle-de-Horas","full_name":"Leandro-b-03/Controle-de-Horas","owner":{"login":"Leandro-b-03","id":2287942,"avatar_url":"https://avatars.githubusercontent.com/u/2287942?v=3","gravatar_id":"","url":"https://api.github.com/users/Leandro-b-03","html_url":"https://github.com/Leandro-b-03","followers_url":"https://api.github.com/users/Leandro-b-03/followers","following_url":"https://api.github.com/users/Leandro-b-03/following{/other_user}","gists_url":"https://api.github.com/users/Leandro-b-03/gists{/gist_id}","starred_url":"https://api.github.com/users/Leandro-b-03/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Leandro-b-03/subscriptions","organizations_url":"https://api.github.com/users/Leandro-b-03/orgs","repos_url":"https://api.github.com/users/Leandro-b-03/repos","events_url":"https://api.github.com/users/Leandro-b-03/events{/privacy}","received_events_url":"https://api.github.com/users/Leandro-b-03/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Leandro-b-03/Controle-de-Horas","description":"Prototipo de controle de horas para empresas.","fork":false,"url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas","forks_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/forks","keys_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/teams","hooks_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/hooks","issue_events_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/issues/events{/number}","events_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/events","assignees_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/assignees{/user}","branches_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/branches{/branch}","tags_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/tags","blobs_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/git/refs{/sha}","trees_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/statuses/{sha}","languages_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/languages","stargazers_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/stargazers","contributors_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/contributors","subscribers_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/subscribers","subscription_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/subscription","commits_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/commits{/sha}","git_commits_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/git/commits{/sha}","comments_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/comments{/number}","issue_comment_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/issues/comments{/number}","contents_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/contents/{+path}","compare_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/merges","archive_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/downloads","issues_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/issues{/number}","pulls_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/pulls{/number}","milestones_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/milestones{/number}","notifications_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/labels{/name}","releases_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/releases{/id}","deployments_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/deployments","created_at":"2015-06-13T17:24:05Z","updated_at":"2016-01-25T18:07:18Z","pushed_at":"2016-02-21T19:04:50Z","git_url":"git://github.com/Leandro-b-03/Controle-de-Horas.git","ssh_url":"git@github.com:Leandro-b-03/Controle-de-Horas.git","clone_url":"https://github.com/Leandro-b-03/Controle-de-Horas.git","svn_url":"https://github.com/Leandro-b-03/Controle-de-Horas","homepage":null,"size":35151,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"Dev"}},"base":{"label":"Leandro-b-03:Homolog","ref":"Homolog","sha":"b68212e7e3187fae75ba4962e7586def4d55db62","user":{"login":"Leandro-b-03","id":2287942,"avatar_url":"https://avatars.githubusercontent.com/u/2287942?v=3","gravatar_id":"","url":"https://api.github.com/users/Leandro-b-03","html_url":"https://github.com/Leandro-b-03","followers_url":"https://api.github.com/users/Leandro-b-03/followers","following_url":"https://api.github.com/users/Leandro-b-03/following{/other_user}","gists_url":"https://api.github.com/users/Leandro-b-03/gists{/gist_id}","starred_url":"https://api.github.com/users/Leandro-b-03/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Leandro-b-03/subscriptions","organizations_url":"https://api.github.com/users/Leandro-b-03/orgs","repos_url":"https://api.github.com/users/Leandro-b-03/repos","events_url":"https://api.github.com/users/Leandro-b-03/events{/privacy}","received_events_url":"https://api.github.com/users/Leandro-b-03/received_events","type":"User","site_admin":false},"repo":{"id":37380875,"name":"Controle-de-Horas","full_name":"Leandro-b-03/Controle-de-Horas","owner":{"login":"Leandro-b-03","id":2287942,"avatar_url":"https://avatars.githubusercontent.com/u/2287942?v=3","gravatar_id":"","url":"https://api.github.com/users/Leandro-b-03","html_url":"https://github.com/Leandro-b-03","followers_url":"https://api.github.com/users/Leandro-b-03/followers","following_url":"https://api.github.com/users/Leandro-b-03/following{/other_user}","gists_url":"https://api.github.com/users/Leandro-b-03/gists{/gist_id}","starred_url":"https://api.github.com/users/Leandro-b-03/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Leandro-b-03/subscriptions","organizations_url":"https://api.github.com/users/Leandro-b-03/orgs","repos_url":"https://api.github.com/users/Leandro-b-03/repos","events_url":"https://api.github.com/users/Leandro-b-03/events{/privacy}","received_events_url":"https://api.github.com/users/Leandro-b-03/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Leandro-b-03/Controle-de-Horas","description":"Prototipo de controle de horas para empresas.","fork":false,"url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas","forks_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/forks","keys_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/teams","hooks_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/hooks","issue_events_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/issues/events{/number}","events_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/events","assignees_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/assignees{/user}","branches_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/branches{/branch}","tags_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/tags","blobs_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/git/refs{/sha}","trees_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/statuses/{sha}","languages_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/languages","stargazers_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/stargazers","contributors_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/contributors","subscribers_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/subscribers","subscription_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/subscription","commits_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/commits{/sha}","git_commits_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/git/commits{/sha}","comments_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/comments{/number}","issue_comment_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/issues/comments{/number}","contents_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/contents/{+path}","compare_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/merges","archive_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/downloads","issues_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/issues{/number}","pulls_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/pulls{/number}","milestones_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/milestones{/number}","notifications_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/labels{/name}","releases_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/releases{/id}","deployments_url":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/deployments","created_at":"2015-06-13T17:24:05Z","updated_at":"2016-01-25T18:07:18Z","pushed_at":"2016-02-21T19:04:50Z","git_url":"git://github.com/Leandro-b-03/Controle-de-Horas.git","ssh_url":"git@github.com:Leandro-b-03/Controle-de-Horas.git","clone_url":"https://github.com/Leandro-b-03/Controle-de-Horas.git","svn_url":"https://github.com/Leandro-b-03/Controle-de-Horas","homepage":null,"size":35151,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"Dev"}},"_links":{"self":{"href":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/pulls/9"},"html":{"href":"https://github.com/Leandro-b-03/Controle-de-Horas/pull/9"},"issue":{"href":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/issues/9"},"comments":{"href":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/Leandro-b-03/Controle-de-Horas/statuses/b246d14c1234447e5c379f5ad19ba8a9c1a05730"}}}}