{"action":"created","comment":{"url":"https://api.github.com/repos/joomla/joomla-cms/pulls/comments/115737306","pull_request_review_id":37300499,"id":115737306,"diff_hunk":"@@ -4,108 +4,128 @@\n  * @license     GNU General Public License version 2 or later; see LICENSE.txt\n  */\n \n-// Only define the Joomla namespace if not defined.\n-if (typeof(Joomla) === 'undefined') {\n-    var Joomla = {};\n-}\n+Joomla = window.Joomla || {};\n \n-Joomla.Highlighter = function(_options){\n-    var $, words, options = {\n-        autoUnhighlight: true,\n-        caseSensitive: false,\n-        startElement: false,\n-        endElement: false,\n-        elements: [],\n-        className: 'highlight',\n-        onlyWords: true,\n-        tag: 'span'\n-    },\n+(function(window, Joomla) {\n+\tJoomla.Highlighter = function(_options){\n+\t\tvar words, options = {\n+\t\t\t    autoUnhighlight: true,\n+\t\t\t    caseSensitive: false,\n+\t\t\t    startElement: false,\n+\t\t\t    endElement: false,\n+\t\t\t    elements: [],\n+\t\t\t    className: 'highlight',\n+\t\t\t    onlyWords: true,\n+\t\t\t    tag: 'span'\n+\t\t    },\n \n-    highlight = function (words) {\n-        if (words.constructor === String) {\n-            words = [words];\n-        }\n-        if (options.autoUnhighlight) {\n-            unhighlight(words);\n-        }\n-        var pattern = options.onlyWords ? '\\b' + pattern + '\\b' : '(' + words.join('\\\\b|\\\\b') + ')',\n-        regex = new RegExp(pattern, options.caseSensitive ? '' : 'i');\n-        options.elements.map(function(el){\n-            recurse(el, regex, options.className);\n-        });\n-        return this;\n-    },\n+\t\t    highlight = function (words) {\n+\t\t\t    if (words.constructor === String) {\n+\t\t\t\t    words = [words];\n+\t\t\t    }\n+\t\t\t    if (options.autoUnhighlight) {\n+\t\t\t\t    unhighlight(words);\n+\t\t\t    }\n+\t\t\t    var pattern = options.onlyWords ? '\\b' + pattern + '\\b' : '(' + words.join('\\\\b|\\\\b') + ')',\n+\t\t\t        regex = new RegExp(pattern, options.caseSensitive ? '' : 'i');\n+\t\t\t    options.elements.map(function(el){\n+\t\t\t\t    recurse(el, regex, options.className);\n+\t\t\t    });\n+\t\t\t    return this;\n+\t\t    },\n \n-    unhighlight = function (words) {\n-        if (words.constructor === String) {\n-            words = [words];\n-        }\n+\t\t    unhighlight = function (words) {\n+\t\t\t    if (words.constructor === String) {\n+\t\t\t\t    words = [words];\n+\t\t\t    }\n \n-        var $elements, tn;\n-        words.map(function(word){\n-            word = (options.caseSensitive ? word : word.toUpperCase());\n-            if (words[word]) {\n-                $elements = $(words[word]);\n-                $elements.removeClass();\n-                $elements.each(function (index, el) {\n-                    tn = document.createTextNode($(el).text());\n-                    el.parentNode.replaceChild(tn, el);\n-                });\n-            }\n-        });\n-        return this;\n-    },\n+\t\t\t    var $elements, tn;\n+\t\t\t    words.map(function(word){\n+\t\t\t\t    word = (options.caseSensitive ? word : word.toUpperCase());\n+\t\t\t\t    if (words[word]) {\n+\t\t\t\t\t    $elements = [].splice.call(document.querySelectorAll(words[word]));\n+\t\t\t\t\t    $elements.removeClass();\n+\t\t\t\t\t    $elements.forEach(function (el) {\n+\t\t\t\t\t\t    tn = document.createTextNode(el.tagName);\n+\t\t\t\t\t\t    el.parentNode.replaceChild(tn, el);\n+\t\t\t\t\t    });\n+\t\t\t\t    }\n+\t\t\t    });\n+\t\t\t    return this;\n+\t\t    },\n \n-    recurse = function (node, regex, klass) {\n-        if (node.nodeType === 3) {\n-            var match = node.nodeValue.match(regex), highlight, $highlight, wordNode, wordClone, comparer, i;\n-            if (match) {\n-                highlight = document.createElement(options.tag);\n-                $highlight = $(highlight);\n-                $highlight.addClass(klass);\n-                wordNode = node.splitText(match.index);\n-                wordNode.splitText(match[0].length);\n-                wordClone = wordNode.cloneNode(true);\n-                $highlight.append(wordClone);\n-                $(wordNode).replaceWith(highlight)\n-                $highlight.attr('rel', $highlight.text());\n-                comparer = $highlight.text()\n-                if (!options.caseSensitive) {\n-                    comparer = $highlight.text().toUpperCase();\n-                }\n-                if (!words[comparer]) {\n-                    words[comparer] = [];\n-                }\n-                words[comparer].push(highlight);\n-                return 1;\n-            }\n-        } else if ((node.nodeType === 1 && node.childNodes) && !/(script|style|textarea|iframe)/i.test(node.tagName) && !(node.tagName === options.tag.toUpperCase() && node.className === klass)) {\n-            for (i = 0; i < node.childNodes.length; i++) {\n-                i += recurse(node.childNodes[i], regex, klass);\n-            }\n-        }\n-        return 0;\n-    },\n+\t\t    recurse = function (node, regex, klass) {\n+\t\t\t    if (node.nodeType === 3) {\n+\t\t\t\t    var match = node.nodeValue.match(regex), highlight, $highlight, wordNode, wordClone, comparer, i;\n+\t\t\t\t    if (match) {\n+\t\t\t\t\t    highlight = document.createElement(options.tag);\n+\t\t\t\t\t    $highlight = highlight;\n+\t\t\t\t\t    $highlight.classList.add(klass);\n+\t\t\t\t\t    wordNode = node.splitText(match.index);\n+\t\t\t\t\t    wordNode.splitText(match[0].length);\n+\t\t\t\t\t    wordClone = wordNode.cloneNode(true);\n+\t\t\t\t\t    $highlight.appendChild(wordClone);\n+\t\t\t\t\t    document.querySelector(wordNode).replaceWith(highlight)\n+\t\t\t\t\t    $highlight.setAttribute('rel', $highlight.innerText);\n+\t\t\t\t\t    comparer = $highlight.innerText\n+\t\t\t\t\t    if (!options.caseSensitive) {\n+\t\t\t\t\t\t    comparer = $highlight.innerText.toUpperCase();\n+\t\t\t\t\t    }\n+\t\t\t\t\t    if (!words[comparer]) {\n+\t\t\t\t\t\t    words[comparer] = [];\n+\t\t\t\t\t    }\n+\t\t\t\t\t    words[comparer].push(highlight);\n+\t\t\t\t\t    return 1;\n+\t\t\t\t    }\n+\t\t\t    } else if ((node.nodeType === 1 && node.childNodes) && !/(script|style|textarea|iframe)/i.test(node.tagName) && !(node.tagName === options.tag.toUpperCase() && node.className === klass)) {\n+\t\t\t\t    for (i = 0; i < node.childNodes.length; i++) {\n+\t\t\t\t\t    i += recurse(node.childNodes[i], regex, klass);\n+\t\t\t\t    }\n+\t\t\t    }\n+\t\t\t    return 0;\n+\t\t    },\n \n-    getElements = function ($start, $end) {\n-        var $next = $start.next();\n-        if ($next.attr('id') !== $end.attr('id')) {\n-            options.elements.push($next.get(0));\n-            getElements($next, $end);\n-        }\n-    },\n+\t\t    getElements = function ($start, $end) {\n+\t\t\t    var $next = $start.next();\n+\t\t\t    if ($next.getAttribute('id') !== $end.getAttribute('id')) {\n+\t\t\t\t    options.elements.push($next);\n+\t\t\t\t    getElements($next, $end);\n+\t\t\t    }\n+\t\t    },\n \n-    initialize = function(_options) {\n-        $ = jQuery.noConflict();\n-        $.extend(options, _options);\n-        getElements($(options.startElement), $(options.endElement));\n-        words = [];\n-    };\n+\t\t    initialize = function(_options) {\n+\t\t\t    Joomla.extend(options, _options);\n+\t\t\t    getElements(document.querySelector(options.startElement), document.querySelector(options.endElement));\n+\t\t\t    words = [];\n+\t\t    };\n \n-    initialize(_options);\n+\t\tinitialize(_options);\n \n-    return {\n-        highlight: highlight,\n-        unhighlight : unhighlight\n-    };\n-};\n+\t\treturn {\n+\t\t\thighlight: highlight,\n+\t\t\tunhighlight : unhighlight\n+\t\t};\n+\t};\n+\n+\tdocument.addEventListener('DOMContentLoaded',  function() {\n+\t\tvar options = Joomla.getOptions('js-highlighter');\n+\n+\t\tif (options.length) {\n+\n+\t\t\tvar start = document.getElementById(options.start);\n+\t\t\tvar end = document.getElementById(options.end);\n+\t\t\tif (!start || !end || !Joomla.Highlighter) {\n+\t\t\t\treturn true;\n+\t\t\t}\n+\t\t\thighlighter = new Joomla.Highlighter({\n+\t\t\t\tstartElement: start,\n+\t\t\t\tendElement: end,\n+\t\t\t\tclassName: options['class'],\n+\t\t\t\tonlyWords: false,\n+\t\t\t\ttag: options.tag\n+\t\t\t}).highlight(options.terms);\n+\t\t\tdocument.querySelector(start).remove();","path":"media/system/js/highlighter.js","position":220,"original_position":220,"commit_id":"76ec3db446e4c56f118d056473fe433d79d97aa6","original_commit_id":"76ec3db446e4c56f118d056473fe433d79d97aa6","user":{"login":"C-Lodder","id":2019801,"avatar_url":"https://avatars2.githubusercontent.com/u/2019801?v=3","gravatar_id":"","url":"https://api.github.com/users/C-Lodder","html_url":"https://github.com/C-Lodder","followers_url":"https://api.github.com/users/C-Lodder/followers","following_url":"https://api.github.com/users/C-Lodder/following{/other_user}","gists_url":"https://api.github.com/users/C-Lodder/gists{/gist_id}","starred_url":"https://api.github.com/users/C-Lodder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/C-Lodder/subscriptions","organizations_url":"https://api.github.com/users/C-Lodder/orgs","repos_url":"https://api.github.com/users/C-Lodder/repos","events_url":"https://api.github.com/users/C-Lodder/events{/privacy}","received_events_url":"https://api.github.com/users/C-Lodder/received_events","type":"User","site_admin":false},"body":"IE has no support for `remove()`. Best use something like:\r\n\r\n```\r\nvar startEl = document.querySelector(start);\r\nstartEl.parentNode.removeChild(startEl);\r\n```","created_at":"2017-05-10T13:19:28Z","updated_at":"2017-05-10T13:19:28Z","html_url":"https://github.com/joomla/joomla-cms/pull/15940#discussion_r115737306","pull_request_url":"https://api.github.com/repos/joomla/joomla-cms/pulls/15940","_links":{"self":{"href":"https://api.github.com/repos/joomla/joomla-cms/pulls/comments/115737306"},"html":{"href":"https://github.com/joomla/joomla-cms/pull/15940#discussion_r115737306"},"pull_request":{"href":"https://api.github.com/repos/joomla/joomla-cms/pulls/15940"}}},"pull_request":{"url":"https://api.github.com/repos/joomla/joomla-cms/pulls/15940","id":119874239,"html_url":"https://github.com/joomla/joomla-cms/pull/15940","diff_url":"https://github.com/joomla/joomla-cms/pull/15940.diff","patch_url":"https://github.com/joomla/joomla-cms/pull/15940.patch","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/15940","number":15940,"state":"open","locked":false,"title":"[4.0] Clean up JHtmlBehavior","user":{"login":"dgt41","id":3889375,"avatar_url":"https://avatars3.githubusercontent.com/u/3889375?v=3","gravatar_id":"","url":"https://api.github.com/users/dgt41","html_url":"https://github.com/dgt41","followers_url":"https://api.github.com/users/dgt41/followers","following_url":"https://api.github.com/users/dgt41/following{/other_user}","gists_url":"https://api.github.com/users/dgt41/gists{/gist_id}","starred_url":"https://api.github.com/users/dgt41/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgt41/subscriptions","organizations_url":"https://api.github.com/users/dgt41/orgs","repos_url":"https://api.github.com/users/dgt41/repos","events_url":"https://api.github.com/users/dgt41/events{/privacy}","received_events_url":"https://api.github.com/users/dgt41/received_events","type":"User","site_admin":false},"body":"Pull Request for Issue # .\r\n\r\n### Summary of Changes\r\n\r\n- Remove deprecated code\r\n- don't use inline script for caption\r\n- don't use inline script for multiselect\r\n- don't use inline script for highlighter\r\n\r\n### Testing Instructions\r\n\r\n\r\n\r\n### Expected result\r\n\r\n\r\n\r\n### Actual result\r\n\r\n\r\n\r\n### Documentation Changes Required\r\n??\r\n\r\n@wilsonge please merge this one (if you agree with the removals, else let me know and I will revert the ones that are not ok) so the GSOC student can start implementing the javascript test","created_at":"2017-05-10T12:47:11Z","updated_at":"2017-05-10T13:19:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3bc8c194ef388776a8e18300e6dae4cf03d000f4","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/joomla/joomla-cms/pulls/15940/commits","review_comments_url":"https://api.github.com/repos/joomla/joomla-cms/pulls/15940/comments","review_comment_url":"https://api.github.com/repos/joomla/joomla-cms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/15940/comments","statuses_url":"https://api.github.com/repos/joomla/joomla-cms/statuses/76ec3db446e4c56f118d056473fe433d79d97aa6","head":{"label":"dgt41:#####4.0-no-inline-JS-01","ref":"#####4.0-no-inline-JS-01","sha":"76ec3db446e4c56f118d056473fe433d79d97aa6","user":{"login":"dgt41","id":3889375,"avatar_url":"https://avatars3.githubusercontent.com/u/3889375?v=3","gravatar_id":"","url":"https://api.github.com/users/dgt41","html_url":"https://github.com/dgt41","followers_url":"https://api.github.com/users/dgt41/followers","following_url":"https://api.github.com/users/dgt41/following{/other_user}","gists_url":"https://api.github.com/users/dgt41/gists{/gist_id}","starred_url":"https://api.github.com/users/dgt41/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgt41/subscriptions","organizations_url":"https://api.github.com/users/dgt41/orgs","repos_url":"https://api.github.com/users/dgt41/repos","events_url":"https://api.github.com/users/dgt41/events{/privacy}","received_events_url":"https://api.github.com/users/dgt41/received_events","type":"User","site_admin":false},"repo":{"id":17825580,"name":"joomla-cms","full_name":"dgt41/joomla-cms","owner":{"login":"dgt41","id":3889375,"avatar_url":"https://avatars3.githubusercontent.com/u/3889375?v=3","gravatar_id":"","url":"https://api.github.com/users/dgt41","html_url":"https://github.com/dgt41","followers_url":"https://api.github.com/users/dgt41/followers","following_url":"https://api.github.com/users/dgt41/following{/other_user}","gists_url":"https://api.github.com/users/dgt41/gists{/gist_id}","starred_url":"https://api.github.com/users/dgt41/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgt41/subscriptions","organizations_url":"https://api.github.com/users/dgt41/orgs","repos_url":"https://api.github.com/users/dgt41/repos","events_url":"https://api.github.com/users/dgt41/events{/privacy}","received_events_url":"https://api.github.com/users/dgt41/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dgt41/joomla-cms","description":"Home of the Joomla! Content Management System","fork":true,"url":"https://api.github.com/repos/dgt41/joomla-cms","forks_url":"https://api.github.com/repos/dgt41/joomla-cms/forks","keys_url":"https://api.github.com/repos/dgt41/joomla-cms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dgt41/joomla-cms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dgt41/joomla-cms/teams","hooks_url":"https://api.github.com/repos/dgt41/joomla-cms/hooks","issue_events_url":"https://api.github.com/repos/dgt41/joomla-cms/issues/events{/number}","events_url":"https://api.github.com/repos/dgt41/joomla-cms/events","assignees_url":"https://api.github.com/repos/dgt41/joomla-cms/assignees{/user}","branches_url":"https://api.github.com/repos/dgt41/joomla-cms/branches{/branch}","tags_url":"https://api.github.com/repos/dgt41/joomla-cms/tags","blobs_url":"https://api.github.com/repos/dgt41/joomla-cms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dgt41/joomla-cms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dgt41/joomla-cms/git/refs{/sha}","trees_url":"https://api.github.com/repos/dgt41/joomla-cms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dgt41/joomla-cms/statuses/{sha}","languages_url":"https://api.github.com/repos/dgt41/joomla-cms/languages","stargazers_url":"https://api.github.com/repos/dgt41/joomla-cms/stargazers","contributors_url":"https://api.github.com/repos/dgt41/joomla-cms/contributors","subscribers_url":"https://api.github.com/repos/dgt41/joomla-cms/subscribers","subscription_url":"https://api.github.com/repos/dgt41/joomla-cms/subscription","commits_url":"https://api.github.com/repos/dgt41/joomla-cms/commits{/sha}","git_commits_url":"https://api.github.com/repos/dgt41/joomla-cms/git/commits{/sha}","comments_url":"https://api.github.com/repos/dgt41/joomla-cms/comments{/number}","issue_comment_url":"https://api.github.com/repos/dgt41/joomla-cms/issues/comments{/number}","contents_url":"https://api.github.com/repos/dgt41/joomla-cms/contents/{+path}","compare_url":"https://api.github.com/repos/dgt41/joomla-cms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dgt41/joomla-cms/merges","archive_url":"https://api.github.com/repos/dgt41/joomla-cms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dgt41/joomla-cms/downloads","issues_url":"https://api.github.com/repos/dgt41/joomla-cms/issues{/number}","pulls_url":"https://api.github.com/repos/dgt41/joomla-cms/pulls{/number}","milestones_url":"https://api.github.com/repos/dgt41/joomla-cms/milestones{/number}","notifications_url":"https://api.github.com/repos/dgt41/joomla-cms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dgt41/joomla-cms/labels{/name}","releases_url":"https://api.github.com/repos/dgt41/joomla-cms/releases{/id}","deployments_url":"https://api.github.com/repos/dgt41/joomla-cms/deployments","created_at":"2014-03-17T11:18:00Z","updated_at":"2016-07-24T18:52:31Z","pushed_at":"2017-05-10T13:01:45Z","git_url":"git://github.com/dgt41/joomla-cms.git","ssh_url":"git@github.com:dgt41/joomla-cms.git","clone_url":"https://github.com/dgt41/joomla-cms.git","svn_url":"https://github.com/dgt41/joomla-cms","homepage":"http://joomla.org","size":192208,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":1,"default_branch":"____field.modulePosition"}},"base":{"label":"joomla:4.0-dev","ref":"4.0-dev","sha":"fec34cbe24141dcb29838a9ca13caca2af97c839","user":{"login":"joomla","id":751633,"avatar_url":"https://avatars0.githubusercontent.com/u/751633?v=3","gravatar_id":"","url":"https://api.github.com/users/joomla","html_url":"https://github.com/joomla","followers_url":"https://api.github.com/users/joomla/followers","following_url":"https://api.github.com/users/joomla/following{/other_user}","gists_url":"https://api.github.com/users/joomla/gists{/gist_id}","starred_url":"https://api.github.com/users/joomla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joomla/subscriptions","organizations_url":"https://api.github.com/users/joomla/orgs","repos_url":"https://api.github.com/users/joomla/repos","events_url":"https://api.github.com/users/joomla/events{/privacy}","received_events_url":"https://api.github.com/users/joomla/received_events","type":"Organization","site_admin":false},"repo":{"id":2464908,"name":"joomla-cms","full_name":"joomla/joomla-cms","owner":{"login":"joomla","id":751633,"avatar_url":"https://avatars0.githubusercontent.com/u/751633?v=3","gravatar_id":"","url":"https://api.github.com/users/joomla","html_url":"https://github.com/joomla","followers_url":"https://api.github.com/users/joomla/followers","following_url":"https://api.github.com/users/joomla/following{/other_user}","gists_url":"https://api.github.com/users/joomla/gists{/gist_id}","starred_url":"https://api.github.com/users/joomla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joomla/subscriptions","organizations_url":"https://api.github.com/users/joomla/orgs","repos_url":"https://api.github.com/users/joomla/repos","events_url":"https://api.github.com/users/joomla/events{/privacy}","received_events_url":"https://api.github.com/users/joomla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/joomla/joomla-cms","description":"Home of the Joomla! Content Management System","fork":false,"url":"https://api.github.com/repos/joomla/joomla-cms","forks_url":"https://api.github.com/repos/joomla/joomla-cms/forks","keys_url":"https://api.github.com/repos/joomla/joomla-cms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/joomla/joomla-cms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/joomla/joomla-cms/teams","hooks_url":"https://api.github.com/repos/joomla/joomla-cms/hooks","issue_events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/events{/number}","events_url":"https://api.github.com/repos/joomla/joomla-cms/events","assignees_url":"https://api.github.com/repos/joomla/joomla-cms/assignees{/user}","branches_url":"https://api.github.com/repos/joomla/joomla-cms/branches{/branch}","tags_url":"https://api.github.com/repos/joomla/joomla-cms/tags","blobs_url":"https://api.github.com/repos/joomla/joomla-cms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/joomla/joomla-cms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/joomla/joomla-cms/git/refs{/sha}","trees_url":"https://api.github.com/repos/joomla/joomla-cms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/joomla/joomla-cms/statuses/{sha}","languages_url":"https://api.github.com/repos/joomla/joomla-cms/languages","stargazers_url":"https://api.github.com/repos/joomla/joomla-cms/stargazers","contributors_url":"https://api.github.com/repos/joomla/joomla-cms/contributors","subscribers_url":"https://api.github.com/repos/joomla/joomla-cms/subscribers","subscription_url":"https://api.github.com/repos/joomla/joomla-cms/subscription","commits_url":"https://api.github.com/repos/joomla/joomla-cms/commits{/sha}","git_commits_url":"https://api.github.com/repos/joomla/joomla-cms/git/commits{/sha}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/comments{/number}","issue_comment_url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments{/number}","contents_url":"https://api.github.com/repos/joomla/joomla-cms/contents/{+path}","compare_url":"https://api.github.com/repos/joomla/joomla-cms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/joomla/joomla-cms/merges","archive_url":"https://api.github.com/repos/joomla/joomla-cms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/joomla/joomla-cms/downloads","issues_url":"https://api.github.com/repos/joomla/joomla-cms/issues{/number}","pulls_url":"https://api.github.com/repos/joomla/joomla-cms/pulls{/number}","milestones_url":"https://api.github.com/repos/joomla/joomla-cms/milestones{/number}","notifications_url":"https://api.github.com/repos/joomla/joomla-cms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/joomla/joomla-cms/labels{/name}","releases_url":"https://api.github.com/repos/joomla/joomla-cms/releases{/id}","deployments_url":"https://api.github.com/repos/joomla/joomla-cms/deployments","created_at":"2011-09-27T02:07:38Z","updated_at":"2017-05-10T11:53:59Z","pushed_at":"2017-05-10T13:11:18Z","git_url":"git://github.com/joomla/joomla-cms.git","ssh_url":"git@github.com:joomla/joomla-cms.git","clone_url":"https://github.com/joomla/joomla-cms.git","svn_url":"https://github.com/joomla/joomla-cms","homepage":"https://www.joomla.org","size":191024,"stargazers_count":2355,"watchers_count":2355,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2478,"mirror_url":null,"open_issues_count":958,"forks":2478,"open_issues":958,"watchers":2355,"default_branch":"staging"}},"_links":{"self":{"href":"https://api.github.com/repos/joomla/joomla-cms/pulls/15940"},"html":{"href":"https://github.com/joomla/joomla-cms/pull/15940"},"issue":{"href":"https://api.github.com/repos/joomla/joomla-cms/issues/15940"},"comments":{"href":"https://api.github.com/repos/joomla/joomla-cms/issues/15940/comments"},"review_comments":{"href":"https://api.github.com/repos/joomla/joomla-cms/pulls/15940/comments"},"review_comment":{"href":"https://api.github.com/repos/joomla/joomla-cms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/joomla/joomla-cms/pulls/15940/commits"},"statuses":{"href":"https://api.github.com/repos/joomla/joomla-cms/statuses/76ec3db446e4c56f118d056473fe433d79d97aa6"}}}}
{"actor":{"display_login":"C-Lodder"}}