{"action":"created","comment":{"url":"https://api.github.com/repos/gem/oq-platform/pulls/comments/26373070","id":26373070,"diff_hunk":"@@ -14,1043 +14,864 @@\n       You should have received a copy of the GNU Affero General Public License\n       along with this program.  If not, see <https://www.gnu.org/licenses/agpl.html>.\n */\n-\n-var utfGrid = {};\n-var layerControl;\n-var selectedPDef;\n-var previousCatData = [];\n-\n-var TILESTREAM_URL = TS_URL + '/v2/';\n-var TILESTREAM_API_URL = TS_URL + '/api/v1/Tileset/';\n-\n-// Keep track of the layer names\n-var layers;\n-\n-// Make a list of categorys\n-var categoryList = [];\n-var layersByCat = {};\n-var layerNames = {};\n-var layerGrids = [];\n-var projectDefinition = {};\n-\n-// Indicators for the PCP charts\n-var primaryIndicator = {};\n-var categoryIndicator = {};\n-var sessionPrimaryIndicator = {};\n-var sessionCategoryIndicator = {};\n-var weightedPrimaryIndicator = {};\n-var catIndicator = {};\n-var weightedCatIndicator = {};\n-var scaledCatIndicator = {};\n-var aalIndicator = {};\n-var scaledAalIndicator = {};\n-var weightedAalIndicator = {};\n-var sviIndicator = {};\n-var scaledSviIndicator = {};\n-var weightedSviIndicator = {};\n-var iriIndicator = {};\n-\n-// vars used to set the weights of the project definition json\n-var pdData;\n-\n-// Keep track of project definition elements whos weights have been changes\n-var tempWeight = {};\n-var tempCatWeight = {};\n-var pdTempPrimaryIndicator = [];\n-var pdTempPrimaryIndicatorLevels = [];\n-var pdTempPILevel = {};\n-var pdTempCategoryIndicator = [];\n-var parentChildKey = {};\n-var sviParentChildKey = {};\n-var pdTempCatWeight = {};\n-var tempParentChildKey = [];\n-var catIndicator = {};\n-var tempCatSearchElements = [];\n-var tempSviSearchElements = [];\n-var tempSviWeight = '';\n-var tempAalWeight = '';\n-var tempAalValue = '';\n-var tempIriWeight = '';\n-var municipality = [];\n-var outlierBreakPoint = 0.75; // used for the primary indicator outlier\n-\n-// Keep track of the utfGrid that has been selected last\n-var selectedGrid;\n+var layerAttributes;\n+var sessionProjectDef = [];\n+var selectedRegion;\n+var sessionProjectDefStr;\n+var projectLayerAttributes;\n+var region = [];\n+var districts = [];\n var baseMapUrl = new L.TileLayer('http://otile1.mqcdn.com/tiles/1.0.0/map/{z}/{x}/{y}.png');\n-\n var app = new OQLeaflet.OQLeafletApp(baseMapUrl);\n-\n-var startApp = function() {\n-    map = new L.Map('map', {\n-        minZoom: 2,\n-        scrollWheelZoom: false,\n-        attributionControl: false,\n-        maxBounds: new L.LatLngBounds(new L.LatLng(-90, -180), new L.LatLng(90, 180)),\n-    });\n-    map.setView(new L.LatLng(10, -10), 2).addLayer(baseMapUrl);\n-\n-    layers = {};\n-\n-    layerControl = L.control.layers(app.baseLayers);\n-    map.panTo(new L.LatLng(39.399, -8.22));\n-    map.setZoom(6);\n-\n-    // Duplicate layer warnning message\n-    function showDuplicateMsg() {\n-        $('#warning-duplicate').dialog('open');\n+var indicatorChildrenKey = [];\n+\n+function createIndexSimple(la, index) {\n+    var indicator = [];\n+    // setup the indicator with all the municipalities\n+    for (var ia = 0; ia < la.length; ia++) {\n+        var temp = {};\n+        temp.region = la[ia].properties[selectedRegion];\n+        indicator.push(temp);\n+        // districts is used inside of the d3 charts\n+        // TODO change this to region\n+        districts.push(la[ia].properties[selectedRegion]);\n     }\n-\n-    $(document).ready(function() {\n-        $('#warning-duplicate').dialog({\n-            autoOpen: false,\n-            hieght: 300,\n-            width: 350,\n-            modal: true\n-        });\n-    });\n-\n-    // Slider\n-    $(function() {\n-        $( '#slider-vertical' ).slider({\n-            orientation: 'vertical',\n-            range: 'min',\n-            min: 0,\n-            max: 100,\n-            value: 16.666,\n-            slide: function( event, ui ) {\n-                $( '#econ-weight' ).val( ui.value );\n-            }\n-        });\n-        $( '#econ-weight' ).val( $( '#slider-vertical' ).slider( 'value' ) );\n-    });\n-\n-    // No Layer to remove warnning message\n-    function showRemoveMsg() {\n-        $('#warning-no-layer').dialog('open');\n+    // Get the indicators children keys\n+    for (var q = 0; q < index.length; q++) {\n+        indicatorChildrenKey.push(index[q].name);\n     }\n \n-    $('#warning-no-layer').dialog({\n-        autoOpen: false,\n-        hieght: 300,\n-        width: 350,\n-        modal: true\n-    });\n-\n-    //  New project selection dialog\n-    $('#loadProjectDialog').dialog({\n-        autoOpen: false,\n-        height: 220,\n-        width: 350,\n-        modal: true\n-    });\n-\n-    // Set custom map div height\n-    $('#map').height(\"300px\");\n-\n-    $('#load-project').button().click(function() {\n-        $('#loadProjectDialog').dialog('open');\n-    });\n-\n-    // Remove layer \n-    var removeLayer = function () {\n-        var e = document.getElementById('layer-list');\n-        var layerId = e.options[e.selectedIndex].value;\n-\n-        // Look up the layer id using the layer name\n-        var layerIdArray = layerNames[layerId];\n-        var selectedLayer = layerIdArray.toString();\n-\n-        // Check in the layer is in the map port\n-        if (selectedLayer in layers) {\n-            layerControl.removeLayer(layers[selectedLayer]);\n-            map.removeLayer(layers[selectedLayer]);\n-            delete layers[selectedLayer];\n-        }\n-        else {\n-            showRemoveMsg();\n-        }\n-    };\n-\n-    // Get layer names from tilestream\n-    var tileStreamLayer = '';\n-    var category = '';\n-    var selCat = document.getElementById('layer-category');\n-    var selLayer = document.getElementById('layer-list');\n-\n-    // Create a header for the menu drop down\n-    var catMenuHeader = document.createElement('option');\n-    catMenuHeader.innerHTML = 'Projects:';\n-    selCat.appendChild(catMenuHeader);\n-\n-    $.getJSON(TILESTREAM_API_URL,\n-    function(json) {\n-\n-        var name, cat, type, grids, pDef;\n-\n-        // Create the category list (build the object)\n-        for (var i=0; i < json.length; i++) {\n-            name = json[i].mapped_value;\n-            cat = json[i].category;\n-            type = json[i].type;\n-            grids = json[i].grids;\n-            pDef = json[i].project_definition;\n-\n-            if (cat != undefined && type == 'svir-qgis') {\n-                categoryList.push(cat);\n-                layerNames[name] = [];\n-                layersByCat[cat] = [];\n-                projectDefinition[name] = [];\n-\n-                if (grids != undefined) {\n-                    var grid = grids.toString();\n-                    var gridName = grid.split('/')[4];\n-                    layerGrids.push(gridName);\n+    // Match each primary indicator with it's respective data value\n+    var primaryRiskIndicatorObj = {};\n+    for (var ic = 0; ic < la.length; ic++) {\n+        var tempObj = la[ic].properties;\n+        for (var d = 0; d < indicatorChildrenKey.length; d++) {\n+            for(var o in tempObj) {\n+                if (indicatorChildrenKey[d] == o) {\n+                    var tempValue = indicatorChildrenKey[d];\n+                    var tempValue2 = tempObj[o];\n+                    var tempValue3 = tempObj[selectedRegion];\n+                    if (primaryRiskIndicatorObj[tempValue] == undefined) {\n+                        primaryRiskIndicatorObj[tempValue] = tempValue2;\n+                        primaryRiskIndicatorObj.district = tempValue3;\n+                    } else {\n+                        primaryRiskIndicatorObj[tempValue] = primaryRiskIndicatorObj[tempValue] + \",\" +tempValue2;\n+                        primaryRiskIndicatorObj.district = primaryRiskIndicatorObj.district + \",\" +tempValue3;\n+                    }\n                 }\n             }\n-            if (grids != undefined) {\n-                layerNames[grids] = [];\n-            }\n         }\n-\n-        // Create the category list (population the object)\n-        for (var j=0; j < json.length; j++) {\n-            name = json[j].mapped_value;\n-            cat = json[j].category;\n-            type = json[j].type;\n-            grids = json[j].grids;\n-            pDef = json[j].project_definition;\n-\n-            if (cat != undefined && type == 'svir-qgis') {\n-                layerId = json[j].id;\n-                layerTitle = json[j].mapped_value;\n-                layerNames[name].push(layerId);\n-                layersByCat[cat].push(layerTitle);\n-                projectDefinition[name].push(pDef);\n+    }\n+    return primaryRiskIndicatorObj;\n+}\n+\n+function createIndex(la, index) {\n+    var ct = 0;\n+    var indicator = [];\n+    // setup the indicator with all the municipalities\n+    for (var ia = 0; ia < la.length; ia++) {\n+        var temp = {};\n+        temp.region = la[ia].properties[selectedRegion];\n+        indicator.push(temp);\n+    }\n+    for (var i = 0; i < index.length; i++) {\n+        for (var j = 0; j < la.length; j++, ct++) {\n+            if (indicator[j].region == la[j].properties[selectedRegion]) {\n+                var tempName = index[i].name;\n+                var tempValue = la[j].properties[tempName];\n+                indicator[j][tempName] = tempValue;\n             }\n         }\n-\n-        // Get unique category names\n-        var categoryUnique = categoryList.filter(function(itm,i,categoryList){\n-            return i==categoryList.indexOf(itm);\n-        });\n-\n-        for (var l in categoryUnique) {\n-            // Append category names to dropdown list\n-            var categoryTitle = categoryUnique[l];\n-            var opt = document.createElement('option');\n-            opt.innerHTML = categoryTitle;\n-            opt.value = categoryTitle;\n-            selCat.appendChild(opt);\n-            // Append layer list to dowpdown\n-            var layerOpt = document.createElement('option');\n+    }\n+    return indicator;\n+}\n+\n+function combineIndicators(nameLookUp, themeObj, JSONthemes) {\n+    projectDef = sessionProjectDef;","path":"openquakeplatform/openquakeplatform/static/js/irv_viewer.js","position":262,"original_position":296,"commit_id":"b2e697257703b75e7b7fbdb51fd647ab6b2b87eb","original_commit_id":"d45d65bf8ccb9501dea85682f9b435eca83b9ddd","user":{"login":"ptormene","id":350930,"avatar_url":"https://avatars.githubusercontent.com/u/350930?v=3","gravatar_id":"","url":"https://api.github.com/users/ptormene","html_url":"https://github.com/ptormene","followers_url":"https://api.github.com/users/ptormene/followers","following_url":"https://api.github.com/users/ptormene/following{/other_user}","gists_url":"https://api.github.com/users/ptormene/gists{/gist_id}","starred_url":"https://api.github.com/users/ptormene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ptormene/subscriptions","organizations_url":"https://api.github.com/users/ptormene/orgs","repos_url":"https://api.github.com/users/ptormene/repos","events_url":"https://api.github.com/users/ptormene/events{/privacy}","received_events_url":"https://api.github.com/users/ptormene/received_events","type":"User","site_admin":false},"body":"Ok. Then, please, add a comment to clarify it","created_at":"2015-03-13T09:30:15Z","updated_at":"2015-03-13T09:30:15Z","html_url":"https://github.com/gem/oq-platform/pull/378#discussion_r26373070","pull_request_url":"https://api.github.com/repos/gem/oq-platform/pulls/378","_links":{"self":{"href":"https://api.github.com/repos/gem/oq-platform/pulls/comments/26373070"},"html":{"href":"https://github.com/gem/oq-platform/pull/378#discussion_r26373070"},"pull_request":{"href":"https://api.github.com/repos/gem/oq-platform/pulls/378"}}},"pull_request":{"url":"https://api.github.com/repos/gem/oq-platform/pulls/378","id":30148307,"html_url":"https://github.com/gem/oq-platform/pull/378","diff_url":"https://github.com/gem/oq-platform/pull/378.diff","patch_url":"https://github.com/gem/oq-platform/pull/378.patch","issue_url":"https://api.github.com/repos/gem/oq-platform/issues/378","number":378,"state":"open","locked":false,"title":"Irv refactor","user":{"login":"bwyss","id":340159,"avatar_url":"https://avatars.githubusercontent.com/u/340159?v=3","gravatar_id":"","url":"https://api.github.com/users/bwyss","html_url":"https://github.com/bwyss","followers_url":"https://api.github.com/users/bwyss/followers","following_url":"https://api.github.com/users/bwyss/following{/other_user}","gists_url":"https://api.github.com/users/bwyss/gists{/gist_id}","starred_url":"https://api.github.com/users/bwyss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwyss/subscriptions","organizations_url":"https://api.github.com/users/bwyss/orgs","repos_url":"https://api.github.com/users/bwyss/repos","events_url":"https://api.github.com/users/bwyss/events{/privacy}","received_events_url":"https://api.github.com/users/bwyss/received_events","type":"User","site_admin":false},"body":"This refactor changes the source of the data powering the app from UtfGrids to Geosever.\r\nCurrently the category (theme) and primary indicator charts are deactivated until more input is provided by the project owner. ","created_at":"2015-02-27T08:12:31Z","updated_at":"2015-03-13T09:30:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4a41a40ec77c0ef5a1223ec3c2d58567b65fcc7f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gem/oq-platform/pulls/378/commits","review_comments_url":"https://api.github.com/repos/gem/oq-platform/pulls/378/comments","review_comment_url":"https://api.github.com/repos/gem/oq-platform/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gem/oq-platform/issues/378/comments","statuses_url":"https://api.github.com/repos/gem/oq-platform/statuses/b2e697257703b75e7b7fbdb51fd647ab6b2b87eb","head":{"label":"gem:irv-refactor","ref":"irv-refactor","sha":"b2e697257703b75e7b7fbdb51fd647ab6b2b87eb","user":{"login":"gem","id":316546,"avatar_url":"https://avatars.githubusercontent.com/u/316546?v=3","gravatar_id":"","url":"https://api.github.com/users/gem","html_url":"https://github.com/gem","followers_url":"https://api.github.com/users/gem/followers","following_url":"https://api.github.com/users/gem/following{/other_user}","gists_url":"https://api.github.com/users/gem/gists{/gist_id}","starred_url":"https://api.github.com/users/gem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gem/subscriptions","organizations_url":"https://api.github.com/users/gem/orgs","repos_url":"https://api.github.com/users/gem/repos","events_url":"https://api.github.com/users/gem/events{/privacy}","received_events_url":"https://api.github.com/users/gem/received_events","type":"Organization","site_admin":false},"repo":{"id":5497412,"name":"oq-platform","full_name":"gem/oq-platform","owner":{"login":"gem","id":316546,"avatar_url":"https://avatars.githubusercontent.com/u/316546?v=3","gravatar_id":"","url":"https://api.github.com/users/gem","html_url":"https://github.com/gem","followers_url":"https://api.github.com/users/gem/followers","following_url":"https://api.github.com/users/gem/following{/other_user}","gists_url":"https://api.github.com/users/gem/gists{/gist_id}","starred_url":"https://api.github.com/users/gem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gem/subscriptions","organizations_url":"https://api.github.com/users/gem/orgs","repos_url":"https://api.github.com/users/gem/repos","events_url":"https://api.github.com/users/gem/events{/privacy}","received_events_url":"https://api.github.com/users/gem/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gem/oq-platform","description":"OpenQuake Platform.","fork":false,"url":"https://api.github.com/repos/gem/oq-platform","forks_url":"https://api.github.com/repos/gem/oq-platform/forks","keys_url":"https://api.github.com/repos/gem/oq-platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gem/oq-platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gem/oq-platform/teams","hooks_url":"https://api.github.com/repos/gem/oq-platform/hooks","issue_events_url":"https://api.github.com/repos/gem/oq-platform/issues/events{/number}","events_url":"https://api.github.com/repos/gem/oq-platform/events","assignees_url":"https://api.github.com/repos/gem/oq-platform/assignees{/user}","branches_url":"https://api.github.com/repos/gem/oq-platform/branches{/branch}","tags_url":"https://api.github.com/repos/gem/oq-platform/tags","blobs_url":"https://api.github.com/repos/gem/oq-platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gem/oq-platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gem/oq-platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/gem/oq-platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gem/oq-platform/statuses/{sha}","languages_url":"https://api.github.com/repos/gem/oq-platform/languages","stargazers_url":"https://api.github.com/repos/gem/oq-platform/stargazers","contributors_url":"https://api.github.com/repos/gem/oq-platform/contributors","subscribers_url":"https://api.github.com/repos/gem/oq-platform/subscribers","subscription_url":"https://api.github.com/repos/gem/oq-platform/subscription","commits_url":"https://api.github.com/repos/gem/oq-platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/gem/oq-platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/gem/oq-platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/gem/oq-platform/issues/comments{/number}","contents_url":"https://api.github.com/repos/gem/oq-platform/contents/{+path}","compare_url":"https://api.github.com/repos/gem/oq-platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gem/oq-platform/merges","archive_url":"https://api.github.com/repos/gem/oq-platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gem/oq-platform/downloads","issues_url":"https://api.github.com/repos/gem/oq-platform/issues{/number}","pulls_url":"https://api.github.com/repos/gem/oq-platform/pulls{/number}","milestones_url":"https://api.github.com/repos/gem/oq-platform/milestones{/number}","notifications_url":"https://api.github.com/repos/gem/oq-platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gem/oq-platform/labels{/name}","releases_url":"https://api.github.com/repos/gem/oq-platform/releases{/id}","created_at":"2012-08-21T16:00:07Z","updated_at":"2015-03-09T15:11:50Z","pushed_at":"2015-03-13T09:29:34Z","git_url":"git://github.com/gem/oq-platform.git","ssh_url":"git@github.com:gem/oq-platform.git","clone_url":"https://github.com/gem/oq-platform.git","svn_url":"https://github.com/gem/oq-platform","homepage":null,"size":158250,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":3,"default_branch":"master"}},"base":{"label":"gem:master","ref":"master","sha":"49bfc00591cc21bcecef43061fd0bdbccf07e9b9","user":{"login":"gem","id":316546,"avatar_url":"https://avatars.githubusercontent.com/u/316546?v=3","gravatar_id":"","url":"https://api.github.com/users/gem","html_url":"https://github.com/gem","followers_url":"https://api.github.com/users/gem/followers","following_url":"https://api.github.com/users/gem/following{/other_user}","gists_url":"https://api.github.com/users/gem/gists{/gist_id}","starred_url":"https://api.github.com/users/gem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gem/subscriptions","organizations_url":"https://api.github.com/users/gem/orgs","repos_url":"https://api.github.com/users/gem/repos","events_url":"https://api.github.com/users/gem/events{/privacy}","received_events_url":"https://api.github.com/users/gem/received_events","type":"Organization","site_admin":false},"repo":{"id":5497412,"name":"oq-platform","full_name":"gem/oq-platform","owner":{"login":"gem","id":316546,"avatar_url":"https://avatars.githubusercontent.com/u/316546?v=3","gravatar_id":"","url":"https://api.github.com/users/gem","html_url":"https://github.com/gem","followers_url":"https://api.github.com/users/gem/followers","following_url":"https://api.github.com/users/gem/following{/other_user}","gists_url":"https://api.github.com/users/gem/gists{/gist_id}","starred_url":"https://api.github.com/users/gem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gem/subscriptions","organizations_url":"https://api.github.com/users/gem/orgs","repos_url":"https://api.github.com/users/gem/repos","events_url":"https://api.github.com/users/gem/events{/privacy}","received_events_url":"https://api.github.com/users/gem/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gem/oq-platform","description":"OpenQuake Platform.","fork":false,"url":"https://api.github.com/repos/gem/oq-platform","forks_url":"https://api.github.com/repos/gem/oq-platform/forks","keys_url":"https://api.github.com/repos/gem/oq-platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gem/oq-platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gem/oq-platform/teams","hooks_url":"https://api.github.com/repos/gem/oq-platform/hooks","issue_events_url":"https://api.github.com/repos/gem/oq-platform/issues/events{/number}","events_url":"https://api.github.com/repos/gem/oq-platform/events","assignees_url":"https://api.github.com/repos/gem/oq-platform/assignees{/user}","branches_url":"https://api.github.com/repos/gem/oq-platform/branches{/branch}","tags_url":"https://api.github.com/repos/gem/oq-platform/tags","blobs_url":"https://api.github.com/repos/gem/oq-platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gem/oq-platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gem/oq-platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/gem/oq-platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gem/oq-platform/statuses/{sha}","languages_url":"https://api.github.com/repos/gem/oq-platform/languages","stargazers_url":"https://api.github.com/repos/gem/oq-platform/stargazers","contributors_url":"https://api.github.com/repos/gem/oq-platform/contributors","subscribers_url":"https://api.github.com/repos/gem/oq-platform/subscribers","subscription_url":"https://api.github.com/repos/gem/oq-platform/subscription","commits_url":"https://api.github.com/repos/gem/oq-platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/gem/oq-platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/gem/oq-platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/gem/oq-platform/issues/comments{/number}","contents_url":"https://api.github.com/repos/gem/oq-platform/contents/{+path}","compare_url":"https://api.github.com/repos/gem/oq-platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gem/oq-platform/merges","archive_url":"https://api.github.com/repos/gem/oq-platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gem/oq-platform/downloads","issues_url":"https://api.github.com/repos/gem/oq-platform/issues{/number}","pulls_url":"https://api.github.com/repos/gem/oq-platform/pulls{/number}","milestones_url":"https://api.github.com/repos/gem/oq-platform/milestones{/number}","notifications_url":"https://api.github.com/repos/gem/oq-platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gem/oq-platform/labels{/name}","releases_url":"https://api.github.com/repos/gem/oq-platform/releases{/id}","created_at":"2012-08-21T16:00:07Z","updated_at":"2015-03-09T15:11:50Z","pushed_at":"2015-03-13T09:29:34Z","git_url":"git://github.com/gem/oq-platform.git","ssh_url":"git@github.com:gem/oq-platform.git","clone_url":"https://github.com/gem/oq-platform.git","svn_url":"https://github.com/gem/oq-platform","homepage":null,"size":158250,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gem/oq-platform/pulls/378"},"html":{"href":"https://github.com/gem/oq-platform/pull/378"},"issue":{"href":"https://api.github.com/repos/gem/oq-platform/issues/378"},"comments":{"href":"https://api.github.com/repos/gem/oq-platform/issues/378/comments"},"review_comments":{"href":"https://api.github.com/repos/gem/oq-platform/pulls/378/comments"},"review_comment":{"href":"https://api.github.com/repos/gem/oq-platform/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gem/oq-platform/pulls/378/commits"},"statuses":{"href":"https://api.github.com/repos/gem/oq-platform/statuses/b2e697257703b75e7b7fbdb51fd647ab6b2b87eb"}}}}