{"action":"created","comment":{"url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/pulls/comments/39650645","id":39650645,"diff_hunk":"@@ -0,0 +1,586 @@\n+var variables = [];\n+var units = [];\n+\n+var setBlockHideShow = function () {\n+\n+    jQuery('#pickDate').click(function () {\n+        jQuery('#addmeasurement-variable-date').datetimepicker('show'); //support hide,show and destroy command\n+    });\n+\n+    jQuery('#add-pickDate').click(function () {\n+        jQuery('#add-addmeasurement-variable-date').datetimepicker('show'); //support hide,show and destroy command\n+    });\n+\n+    jQuery(\"#signup_block\").hide();\n+    jQuery(\"#record_a_measurement_block\").hide();\n+    jQuery(\"#edt_record_a_measurement_block\").hide();\n+    jQuery(\"#add_record_a_measurement_block\").hide();\n+\n+\n+    if (accessToken) {\n+        jQuery(\"#record_a_measurement_block\").show();\n+    } else {\n+        jQuery(\"#signup_block\").show();\n+    }\n+\n+\n+}\n+\n+var setButtonListeners = function () {\n+\n+    document.getElementById('button-record-a-measurement').onclick = onQmRcdMstButtonClicked;\n+\n+    document.getElementById('button-edit-record-a-measurement').onclick = onEdtButtonClicked;\n+    document.getElementById('button-add-record-a-measurement').onclick = onAddButtonClicked;\n+\n+};\n+\n+/**\n+ * Record a measurement is clicked\n+ */\n+var onQmRcdMstButtonClicked = function () {\n+    var name = jQuery('#addmeasurement-variable-name').val();\n+\n+    if (name === '') {\n+\n+        jQuery('.validation-holder span').text('Please enter the variable name');\n+        jQuery('#addmeasurement-variable-name').addClass('error');\n+\n+        return;\n+    } else {\n+\n+        jQuery('.validation-holder').text('');\n+        jQuery('#addmeasurement-variable-name').removeClass('error');\n+\n+    }\n+\n+    var n_value = getVariableWithName(name);\n+\n+    if (n_value == null) {\n+        jQuery('#record_a_measurement_block').hide();\n+        jQuery('#add_record_a_measurement_block').show();\n+        jQuery('#add-addmeasurement-variable-name').val(name);\n+\n+    }\n+    else {\n+        jQuery('#record_a_measurement_block').hide();\n+        jQuery('#edt_record_a_measurement_block').show();\n+        jQuery('#edt-addmeasurement-variable-name').val(name);\n+\n+    }\n+\n+}\n+\n+// Simple Sign In button clicked\n+var onQmSignButtonClicked = function () {\n+    window.location.href = '?connect=quantimodo';\n+};\n+\n+var onCloseButtonClicked = function () {\n+    window.close();\n+};\n+\n+\n+/**\n+ * Desc:\n+ */\n+\n+var onEdtButtonClicked = function () {\n+    // Create an array of measurements\n+    var name = jQuery('#edt-addmeasurement-variable-name').val();\n+    var unit = jQuery('#addmeasurement-variable-unit').val();\n+    var value = jQuery('#addmeasurement-variable-value').val();\n+    var valueCategory = jQuery('#addmeasurement-variable-category').val();\n+    var combineOp = jQuery('#combineOperation').val();\n+    var datetimeString = jQuery('#addmeasurement-variable-date').val();\n+\n+    datetimeString = datetimeString.replace('AM', '');\n+    datetimeString = datetimeString.replace('PM', '');\n+\n+    var hour = jQuery('#addmeasurement-variable-timeh').val();\n+    var min = jQuery('#addmeasurement-variable-timem').val();\n+    var ap = jQuery('#addmeasurement-variable-timeap').val();\n+    var datetime = new Date(datetimeString);\n+\n+    /*\n+     alert (datetime) ;\n+     alert (Math.floor(datetime.getTime()  / 1000));\n+     /*datetime.setHours(parseInt(hour) + (ap * 12));\n+     datetime.setMinutes(min);\n+     datetime.setSeconds(0);\n+     */\n+\n+    if (name === '') {\n+        alert('Please enter the variable name.');\n+        return;\n+    }\n+    if (value == '') {\n+        alert('Please enter the value.');\n+        return;\n+    }\n+\n+    //var variable = getVariableWithName(name);\n+    var measurements = [\n+        {\n+            timestamp: Math.floor(datetime.getTime() / 1000),\n+            value: value\n+        }\n+    ];\n+    //alert ( measurements ) ;\n+    // Add it to a request, payload is what we'll send to QuantiModo\n+    var request = {\n+        message: 'uploadMeasurements',\n+        payload: [\n+            {\n+                measurements: measurements,\n+                name: name,\n+                source: 'QuantiModo',\n+                category: valueCategory,\n+                combinationOperation: combineOp,\n+                unit: unit\n+            }\n+        ]\n+\n+    };\n+\n+    Quantimodo.postMeasurementsV2(request.payload, function (responseText) {\n+        var response = responseText;\n+        //alert (response) ;\n+        if (response.success === true) {\n+            //save measurement to pre-populate this values next time\n+            localCache.setSubmittedMeasurement(name, value, unit);\n+            jQuery('#addmeasurement-variable-name').val('');\n+            setBlockHideShow();\n+            alert('Measurement have been posted successfully');\n+        }\n+        else {\n+            alert('Adding a measurement failed.');\n+            console.log(responseText);\n+        }\n+    });\n+\n+};\n+\n+var onAddButtonClicked = function () {\n+    // Create an array of measurements\n+    var name = jQuery('#add-addmeasurement-variable-name').val();\n+    var unit = jQuery('#add-addmeasurement-variable-unit').val();\n+    var value = jQuery('#add-addmeasurement-variable-value').val();\n+    var valueCategory = jQuery('#addmeasurement-variable-category').val();\n+    var combineOp = jQuery('#combineOperation').val();\n+    var datetimeString = jQuery('#add-addmeasurement-variable-date').val();\n+\n+    //alert (Date.parse(datetimeString)) ;\n+    datetimeString = datetimeString.replace('AM', '');\n+    datetimeString = datetimeString.replace('PM', '');\n+    //\n+\n+\n+    //year, month, day, hours, minutes, seconds, milliseconds\n+    var hour = jQuery('#add-addmeasurement-variable-timeh').val();\n+    var min = jQuery('#add-addmeasurement-variable-timem').val();\n+    var ap = jQuery('#add-addmeasurement-variable-timeap').val();\n+    var datetime = new Date(datetimeString);\n+\n+    /*\n+     datetime.setHours(parseInt(hour) + (ap * 12));\n+     datetime.setMinutes(min);\n+     datetime.setSeconds(0);\n+     */\n+\n+    if (name === '') {\n+        alert('Please enter the variable name.');\n+        return;\n+    }\n+    if (value == '') {\n+        alert('Please enter the value.');\n+        return;\n+    }\n+    //var variable = getVariableWithName(name);\n+    var measurements = [\n+        {\n+            timestamp: Math.floor(datetime.getTime() / 1000),\n+            value: value\n+        }\n+    ];\n+    // Add it to a request, payload is what we'll send to QuantiModo\n+    var request = {\n+        message: 'uploadMeasurements',\n+        payload: [\n+            {\n+                measurements: measurements,\n+                name: name,\n+                source: 'QuantiModo',\n+                category: valueCategory,\n+                combinationOperation: combineOp,\n+                unit: unit\n+            }\n+        ]\n+\n+    };\n+\n+    Quantimodo.postMeasurementsV2(request.payload, function (responseText) {\n+        var response = responseText;\n+        //alert (response) ;\n+        if (response.success === true) {\n+            //save measurement to pre-populate this values next time\n+            localCache.setSubmittedMeasurement(name, value, unit);\n+            jQuery('#addmeasurement-variable-name').val('');\n+            setBlockHideShow();\n+            alert('Measurement have been posted successfully');\n+        }\n+        else {\n+            alert('Adding a measurement failed.');\n+            console.log(responseText);\n+        }\n+    });\n+\n+};\n+\n+var onVariableNameInputFocussed = function () {\n+    jQuery('#snd_gap').height('100px');\n+    //document.getElementById('sectionMeasurementInput').style.opacity='0.2';\n+};\n+\n+var onVariableNameInputUnfocussed = function () {\n+    //jQuery('#snd_gap').height('10px');\n+    //document.getElementById('sectionMeasurementInput').style.opacity='1';\n+};\n+\n+var getVariableWithName = function (variableName) {\n+    var filteredVars = jQuery.grep(variables, function (variable, i) {\n+        return variable.name == variableName;\n+    });\n+    if (filteredVars.length > 0) return filteredVars[0];\n+    return null;\n+};\n+\n+var getUnitWithAbbriatedName = function (unitAbbr) {\n+    var filteredUnits = jQuery.grep(units, function (unit, i) {\n+        return unit.abbreviatedName == unitAbbr;\n+    });\n+\n+    if (filteredUnits.length > 0) return filteredUnits[0];\n+    return null;\n+};\n+\n+var loadVariableCategories = function () {\n+\n+    Quantimodo.getVariableCategories(null, function (variableCategories) {\n+        variables = variableCategories;\n+        var varnames = [];\n+        var categories = [];\n+        variableCategorySelect = document.getElementById('addmeasurement-variable-category');\n+\n+        if (variables.length) {\n+            jQuery.each(variables.sort(function (a, b) {\n+                return a.name.localeCompare(b.name);\n+            }), function (_, variable) {\n+                varnames.push(variable.name);\n+                categories.push(variable.name);\n+            });\n+        }\n+\n+        if (categories.length) {\n+            categories.sort();\n+            for (var i = 0; i < categories.length; i++)\n+                variableCategorySelect.options[variableCategorySelect.options.length] = new Option(categories[i], categories[i]);\n+        }\n+    })\n+};\n+\n+var loadVariables = function () {\n+    jQuery.widget('custom.catcomplete', jQuery.ui.autocomplete, {\n+        _renderMenu: function (ul, items) {\n+            var that = this,\n+                currentCategory = '';\n+            jQuery.each(items, function (index, item) {\n+                if (item.category != currentCategory) {\n+                    ul.append('<li class=\"ui-autocomplete-category\">' + item.category + '</li>');\n+                    currentCategory = item.category;\n+                }\n+                that._renderItemData(ul, item);\n+            });\n+\n+        }\n+    });\n+\n+    var request = {message: 'getVariables', params: {}};\n+\n+    Quantimodo.getVariables(null, function (vars) {\n+\n+        variables = vars;\n+        var varnames = [];\n+        var categories = [];\n+        variableCategorySelect = document.getElementById('addmeasurement-variable-category');\n+\n+        if (variables.length) {\n+            jQuery.each(variables.sort(function (a, b) {\n+                return a.name.localeCompare(b.name);\n+            }), function (_, variable) {\n+                varnames.push(variable.name);\n+            });\n+        }\n+\n+    });\n+\n+};\n+\n+var loadVariableUnits = function () {\n+\n+    Quantimodo.getUnits(null, function (variableUnits) {\n+        units = variableUnits;\n+        unitSelect = document.getElementById('addmeasurement-variable-unit');\n+\n+        if (units.length) {\n+            jQuery.each(units.sort(function (a, b) {\n+                return a.name.localeCompare(b.name);\n+            }), function (_, unit) {\n+                unitSelect.options[unitSelect.options.length] = new Option(unit.name, unit.abbreviatedName);\n+            });\n+        }\n+    });\n+\n+};\n+\n+// Load option for the Distance\n+var loadAddVariableUnits = function () {\n+\n+    Quantimodo.getUnits(null, function (variableUnits) {\n+        units = variableUnits;\n+        unitSelect = document.getElementById('add-addmeasurement-variable-unit');\n+\n+        if (units.length) {\n+            jQuery.each(units.sort(function (a, b) {\n+                return a.name.localeCompare(b.name);\n+            }), function (_, unit) {\n+                unitSelect.options[unitSelect.options.length] = new Option(unit.name, unit.abbreviatedName);\n+            });\n+        }\n+    });\n+\n+};\n+\n+function addZero(i) {\n+    if (i < 10) {\n+        i = '0' + i;\n+    }\n+    return i;\n+}\n+\n+var loadDateTime = function () {\n+\n+    jQuery('#addmeasurement-variable-date').datetimepicker({\n+        dayOfWeekStart: 1,\n+        lang: 'en',\n+        startDate: '1986/01/05',\n+        format: 'h:i A m/d/Y'\n+    });\n+\n+\n+    var currentTime = new Date();\n+\n+    var jYears = currentTime.getFullYear();\n+    var jMonths = currentTime.getMonth();\n+    var jDate = currentTime.getDate();\n+\n+    var jHours = addZero(currentTime.getHours());\n+    var jMinutes = addZero(currentTime.getMinutes());\n+\n+    var jJjMinutes = ((currentTime.getHours() % 12) ? currentTime.getHours() % 12 : 12) + ':' + currentTime.getMinutes() + (currentTime.getHours() < 12 ? 'AM' : 'PM');\n+\n+    var cDate = jMonths + '/' + jDate + '/' + jYears;\n+\n+    var cDateTime = jJjMinutes + \" \" + cDate;\n+\n+    jQuery('#addmeasurement-variable-date').datetimepicker({value: cDateTime, step: 10});\n+\n+};\n+\n+// Load Date Time\n+var loadAddDateTime = function () {\n+    jQuery('#add-addmeasurement-variable-date').datetimepicker({\n+        dayOfWeekStart: 1,\n+        lang: 'en',\n+        startDate: '1986/01/05',\n+        format: 'h:i A m/d/Y',\n+        todayButton: true,\n+        inverseButton: true\n+    });\n+\n+    var currentTime = new Date();\n+\n+    var jYears = currentTime.getFullYear();\n+    var jMonths = currentTime.getMonth();\n+    var jDate = currentTime.getDate();\n+\n+    var jHours = addZero(currentTime.getHours());\n+    var jMinutes = addZero(currentTime.getMinutes());\n+\n+    var cDate = jMonths + '/' + jDate + '/' + jYears;\n+\n+    var jJjMinutes = ((currentTime.getHours() % 12) ? currentTime.getHours() % 12 : 12) + ':' + currentTime.getMinutes() + (currentTime.getHours() < 12 ? 'AM' : 'PM');\n+\n+    var cDateTime = jJjMinutes + ' ' + cDate;\n+\n+    jQuery('#add-addmeasurement-variable-date').datetimepicker({value: cDateTime, step: 10});\n+\n+};\n+\n+var handleResponse = function (response, callback) {\n+    if (response.status == 401) {\n+        //go to login screen\n+\n+        jQuery('body').css('width', '270px');\n+        jQuery('#record_a_measurement_block').hide();\n+        jQuery('#edt_record_a_measurement_block').hide();\n+        jQuery('#add_record_a_measurement_block').hide();\n+\n+        jQuery('#signup_block').show();\n+\n+    } else {\n+        var parsedResponse = JSON.parse(response.responseText);\n+        callback(parsedResponse);\n+    }\n+\n+};\n+\n+var localCache = {\n+\n+    setSubmittedMeasurement: function (name, value, unit) {\n+\n+        var storageEntry = {\n+            variable: name,\n+            value: value,\n+            unit: unit\n+        };\n+\n+        var lastSubmittedMeasurements = localStorage.getItem('lastSubmittedMeasurements');\n+\n+        if (!lastSubmittedMeasurements) {\n+            lastSubmittedMeasurements = [];\n+            lastSubmittedMeasurements.push(storageEntry);\n+        } else {\n+            lastSubmittedMeasurements = JSON.parse(lastSubmittedMeasurements);\n+\n+            for (var i = 0; i < lastSubmittedMeasurements.length; i++) {\n+                if (lastSubmittedMeasurements[i].variable == name) {\n+                    lastSubmittedMeasurements[i].value = value;\n+                    lastSubmittedMeasurements[i].unit = unit;\n+                    break;\n+                }\n+                if (i == lastSubmittedMeasurements.length - 1) {\n+                    lastSubmittedMeasurements.push(storageEntry);\n+                }\n+            }\n+        }\n+\n+        localStorage.setItem('lastSubmittedMeasurements', JSON.stringify(lastSubmittedMeasurements));\n+\n+    },\n+\n+    getSubmittedMeasurement: function (name) {\n+\n+        var lastSubmittedMeasurements = localStorage.getItem('lastSubmittedMeasurements');","path":"js/qmwp-add-measurement.js","position":484,"original_position":484,"commit_id":"c1c755547f4f23638c8ac39b8b64e8c8240be6d5","original_commit_id":"c1c755547f4f23638c8ac39b8b64e8c8240be6d5","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":"Line is too long.","created_at":"2015-09-16T16:15:42Z","updated_at":"2015-09-16T16:15:42Z","html_url":"https://github.com/Abolitionist-Project/QuantiModo-WordPress-Plugin/pull/55#discussion_r39650645","pull_request_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/pulls/55","_links":{"self":{"href":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/pulls/comments/39650645"},"html":{"href":"https://github.com/Abolitionist-Project/QuantiModo-WordPress-Plugin/pull/55#discussion_r39650645"},"pull_request":{"href":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/pulls/55"}}},"pull_request":{"url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/pulls/55","id":45189478,"html_url":"https://github.com/Abolitionist-Project/QuantiModo-WordPress-Plugin/pull/55","diff_url":"https://github.com/Abolitionist-Project/QuantiModo-WordPress-Plugin/pull/55.diff","patch_url":"https://github.com/Abolitionist-Project/QuantiModo-WordPress-Plugin/pull/55.patch","issue_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/issues/55","number":55,"state":"open","locked":false,"title":"Feature/add measurement shortcode","user":{"login":"megarocks","id":2786005,"avatar_url":"https://avatars.githubusercontent.com/u/2786005?v=3","gravatar_id":"","url":"https://api.github.com/users/megarocks","html_url":"https://github.com/megarocks","followers_url":"https://api.github.com/users/megarocks/followers","following_url":"https://api.github.com/users/megarocks/following{/other_user}","gists_url":"https://api.github.com/users/megarocks/gists{/gist_id}","starred_url":"https://api.github.com/users/megarocks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/megarocks/subscriptions","organizations_url":"https://api.github.com/users/megarocks/orgs","repos_url":"https://api.github.com/users/megarocks/repos","events_url":"https://api.github.com/users/megarocks/events{/privacy}","received_events_url":"https://api.github.com/users/megarocks/received_events","type":"User","site_admin":false},"body":"https://github.com/Abolitionist-Project/QuantiModo-WordPress-Plugin/issues/7","created_at":"2015-09-16T15:51:39Z","updated_at":"2015-09-16T16:15:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e7718cc9b79c9c69adff8e626212657a28ef9abe","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/pulls/55/commits","review_comments_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/pulls/55/comments","review_comment_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/issues/55/comments","statuses_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/statuses/c1c755547f4f23638c8ac39b8b64e8c8240be6d5","head":{"label":"Abolitionist-Project:feature/add_measurement_shortcode","ref":"feature/add_measurement_shortcode","sha":"c1c755547f4f23638c8ac39b8b64e8c8240be6d5","user":{"login":"Abolitionist-Project","id":5904153,"avatar_url":"https://avatars.githubusercontent.com/u/5904153?v=3","gravatar_id":"","url":"https://api.github.com/users/Abolitionist-Project","html_url":"https://github.com/Abolitionist-Project","followers_url":"https://api.github.com/users/Abolitionist-Project/followers","following_url":"https://api.github.com/users/Abolitionist-Project/following{/other_user}","gists_url":"https://api.github.com/users/Abolitionist-Project/gists{/gist_id}","starred_url":"https://api.github.com/users/Abolitionist-Project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Abolitionist-Project/subscriptions","organizations_url":"https://api.github.com/users/Abolitionist-Project/orgs","repos_url":"https://api.github.com/users/Abolitionist-Project/repos","events_url":"https://api.github.com/users/Abolitionist-Project/events{/privacy}","received_events_url":"https://api.github.com/users/Abolitionist-Project/received_events","type":"Organization","site_admin":false},"repo":{"id":36956084,"name":"QuantiModo-WordPress-Plugin","full_name":"Abolitionist-Project/QuantiModo-WordPress-Plugin","owner":{"login":"Abolitionist-Project","id":5904153,"avatar_url":"https://avatars.githubusercontent.com/u/5904153?v=3","gravatar_id":"","url":"https://api.github.com/users/Abolitionist-Project","html_url":"https://github.com/Abolitionist-Project","followers_url":"https://api.github.com/users/Abolitionist-Project/followers","following_url":"https://api.github.com/users/Abolitionist-Project/following{/other_user}","gists_url":"https://api.github.com/users/Abolitionist-Project/gists{/gist_id}","starred_url":"https://api.github.com/users/Abolitionist-Project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Abolitionist-Project/subscriptions","organizations_url":"https://api.github.com/users/Abolitionist-Project/orgs","repos_url":"https://api.github.com/users/Abolitionist-Project/repos","events_url":"https://api.github.com/users/Abolitionist-Project/events{/privacy}","received_events_url":"https://api.github.com/users/Abolitionist-Project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Abolitionist-Project/QuantiModo-WordPress-Plugin","description":"Shortcodes to embed graphs and connectors on any WP page.","fork":false,"url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin","forks_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/forks","keys_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/teams","hooks_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/hooks","issue_events_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/issues/events{/number}","events_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/events","assignees_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/assignees{/user}","branches_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/branches{/branch}","tags_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/tags","blobs_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/languages","stargazers_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/stargazers","contributors_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/contributors","subscribers_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/subscribers","subscription_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/subscription","commits_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/contents/{+path}","compare_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/merges","archive_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/downloads","issues_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/issues{/number}","pulls_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/labels{/name}","releases_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/releases{/id}","created_at":"2015-06-05T21:24:07Z","updated_at":"2015-09-14T12:47:30Z","pushed_at":"2015-09-16T16:15:35Z","git_url":"git://github.com/Abolitionist-Project/QuantiModo-WordPress-Plugin.git","ssh_url":"git@github.com:Abolitionist-Project/QuantiModo-WordPress-Plugin.git","clone_url":"https://github.com/Abolitionist-Project/QuantiModo-WordPress-Plugin.git","svn_url":"https://github.com/Abolitionist-Project/QuantiModo-WordPress-Plugin","homepage":"https://quantipress.quantimo.do","size":36694,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":9,"forks":1,"open_issues":9,"watchers":3,"default_branch":"develop"}},"base":{"label":"Abolitionist-Project:develop","ref":"develop","sha":"065bac277823092d28d95e99200596e391699069","user":{"login":"Abolitionist-Project","id":5904153,"avatar_url":"https://avatars.githubusercontent.com/u/5904153?v=3","gravatar_id":"","url":"https://api.github.com/users/Abolitionist-Project","html_url":"https://github.com/Abolitionist-Project","followers_url":"https://api.github.com/users/Abolitionist-Project/followers","following_url":"https://api.github.com/users/Abolitionist-Project/following{/other_user}","gists_url":"https://api.github.com/users/Abolitionist-Project/gists{/gist_id}","starred_url":"https://api.github.com/users/Abolitionist-Project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Abolitionist-Project/subscriptions","organizations_url":"https://api.github.com/users/Abolitionist-Project/orgs","repos_url":"https://api.github.com/users/Abolitionist-Project/repos","events_url":"https://api.github.com/users/Abolitionist-Project/events{/privacy}","received_events_url":"https://api.github.com/users/Abolitionist-Project/received_events","type":"Organization","site_admin":false},"repo":{"id":36956084,"name":"QuantiModo-WordPress-Plugin","full_name":"Abolitionist-Project/QuantiModo-WordPress-Plugin","owner":{"login":"Abolitionist-Project","id":5904153,"avatar_url":"https://avatars.githubusercontent.com/u/5904153?v=3","gravatar_id":"","url":"https://api.github.com/users/Abolitionist-Project","html_url":"https://github.com/Abolitionist-Project","followers_url":"https://api.github.com/users/Abolitionist-Project/followers","following_url":"https://api.github.com/users/Abolitionist-Project/following{/other_user}","gists_url":"https://api.github.com/users/Abolitionist-Project/gists{/gist_id}","starred_url":"https://api.github.com/users/Abolitionist-Project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Abolitionist-Project/subscriptions","organizations_url":"https://api.github.com/users/Abolitionist-Project/orgs","repos_url":"https://api.github.com/users/Abolitionist-Project/repos","events_url":"https://api.github.com/users/Abolitionist-Project/events{/privacy}","received_events_url":"https://api.github.com/users/Abolitionist-Project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Abolitionist-Project/QuantiModo-WordPress-Plugin","description":"Shortcodes to embed graphs and connectors on any WP page.","fork":false,"url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin","forks_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/forks","keys_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/teams","hooks_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/hooks","issue_events_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/issues/events{/number}","events_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/events","assignees_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/assignees{/user}","branches_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/branches{/branch}","tags_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/tags","blobs_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/languages","stargazers_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/stargazers","contributors_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/contributors","subscribers_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/subscribers","subscription_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/subscription","commits_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/contents/{+path}","compare_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/merges","archive_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/downloads","issues_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/issues{/number}","pulls_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/labels{/name}","releases_url":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/releases{/id}","created_at":"2015-06-05T21:24:07Z","updated_at":"2015-09-14T12:47:30Z","pushed_at":"2015-09-16T16:15:35Z","git_url":"git://github.com/Abolitionist-Project/QuantiModo-WordPress-Plugin.git","ssh_url":"git@github.com:Abolitionist-Project/QuantiModo-WordPress-Plugin.git","clone_url":"https://github.com/Abolitionist-Project/QuantiModo-WordPress-Plugin.git","svn_url":"https://github.com/Abolitionist-Project/QuantiModo-WordPress-Plugin","homepage":"https://quantipress.quantimo.do","size":36694,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":9,"forks":1,"open_issues":9,"watchers":3,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/pulls/55"},"html":{"href":"https://github.com/Abolitionist-Project/QuantiModo-WordPress-Plugin/pull/55"},"issue":{"href":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/issues/55"},"comments":{"href":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/issues/55/comments"},"review_comments":{"href":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/pulls/55/comments"},"review_comment":{"href":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/pulls/55/commits"},"statuses":{"href":"https://api.github.com/repos/Abolitionist-Project/QuantiModo-WordPress-Plugin/statuses/c1c755547f4f23638c8ac39b8b64e8c8240be6d5"}}}}