This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kibble.git


The following commit(s) were added to refs/heads/master by this push:
     new 6b60c77  fix order and var name
6b60c77 is described below

commit 6b60c779003831ba06c9d6cd2c070df07c5c91b4
Author: Daniel Gruno <humbed...@apache.org>
AuthorDate: Tue Feb 13 17:09:09 2018 +0100

    fix order and var name
    
    needs to be called before person is redefined.
    also fix issue reference
---
 ui/js/coffee/widget_comstat.coffee | 4 ++--
 ui/js/kibble.v1.js                 | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/ui/js/coffee/widget_comstat.coffee 
b/ui/js/coffee/widget_comstat.coffee
index 06cb813..b4166db 100644
--- a/ui/js/coffee/widget_comstat.coffee
+++ b/ui/js/coffee/widget_comstat.coffee
@@ -51,8 +51,8 @@ comstat = (json, state) ->
                 oemail = person
                 hash = json.bios[person].code[1].id.split('/')[1]
                 repo = json.bios[person].code[1].sourceURL
-                person = json.bios[person].bio
                 wh = new Date(json.bios[person].code[0] * 
1000.0).toDateSTring()
+                person = json.bios[person].bio
                 if i > 6
                     m = json.stats.code.newcomers.length - 7
                     tr = mk('tr', {scope: 'row'}, [
@@ -113,8 +113,8 @@ comstat = (json, state) ->
                 oemail = person
                 url = json.bios[person].issue[1].url
                 key = json.bios[person].issue[1].key || url
+                wh = new Date(json.bios[person].issue[0] * 
1000.0).toDateSTring()
                 person = json.bios[person].bio
-                wh = new Date(json.bios[person].code[0] * 
1000.0).toDateSTring()
                 if i > 6
                     m = json.stats.issues.newcomers.length - 7
                     tr = mk('tr', {scope: 'row'}, [
diff --git a/ui/js/kibble.v1.js b/ui/js/kibble.v1.js
index 7f4c92a..9aac932 100644
--- a/ui/js/kibble.v1.js
+++ b/ui/js/kibble.v1.js
@@ -5359,8 +5359,8 @@ comstat = function(json, state) {
         oemail = person;
         hash = json.bios[person].code[1].id.split('/')[1];
         repo = json.bios[person].code[1].sourceURL;
-        person = json.bios[person].bio;
         wh = new Date(json.bios[person].code[0] * 1000.0).toDateSTring();
+        person = json.bios[person].bio;
         if (i > 6) {
           m = json.stats.code.newcomers.length - 7;
           tr = mk('tr', {
@@ -5452,8 +5452,8 @@ comstat = function(json, state) {
         oemail = person;
         url = json.bios[person].issue[1].url;
         key = json.bios[person].issue[1].key || url;
+        wh = new Date(json.bios[person].issue[0] * 1000.0).toDateSTring();
         person = json.bios[person].bio;
-        wh = new Date(json.bios[person].code[0] * 1000.0).toDateSTring();
         if (i > 6) {
           m = json.stats.issues.newcomers.length - 7;
           tr = mk('tr', {

-- 
To stop receiving notification emails like this one, please contact
humbed...@apache.org.

Reply via email to