Skip to content
Snippets Groups Projects

Fixed #1509 by converting the entities in js

Merged gitlab-qa-bot requested to merge github/fork/koenpunt/gh-issue-1509 into master

Created by: koenpunt

Converted BranchGraph to a class and now loads the JSON data asynchronously

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
1 var commits = {},
2 comms = {},
3 pixelsX = [],
4 pixelsY = [],
5 mmax = Math.max,
6 mtime = 0,
7 mspace = 0,
8 parents = {},
9 ii = 0,
10 colors = ["#000"];
1 !function(){
  • Created by: riyad

    What's with the !?

    By Administrator on 2012-12-07T21:09:46 (imported from GitLab project)

    By Administrator on 2012-12-07T21:09:46 (imported from GitLab)

  • gitlab-qa-bot
  • 1 var commits = {},
    2 comms = {},
    3 pixelsX = [],
    4 pixelsY = [],
    5 mmax = Math.max,
    6 mtime = 0,
    7 mspace = 0,
    8 parents = {},
    9 ii = 0,
    10 colors = ["#000"];
    1 !function(){
  • gitlab-qa-bot
  • 1 var commits = {},
    2 comms = {},
    3 pixelsX = [],
    4 pixelsY = [],
    5 mmax = Math.max,
    6 mtime = 0,
    7 mspace = 0,
    8 parents = {},
    9 ii = 0,
    10 colors = ["#000"];
    1 !function(){
    • Created by: riyad

      I see ... nice trick ;) ... but I'd rather see the (function() {})() style ...

      • it makes it "clearer" (through the extra )) for the reader that the character in front (i.e. ! or () is related to the invocation
      • it avoids "overloading" ! with another "meaning"

      just my thoughts ;)

      By Administrator on 2012-12-07T21:09:47 (imported from GitLab project)

      By Administrator on 2012-12-07T21:09:47 (imported from GitLab)

  • gitlab-qa-bot
  • 1 var commits = {},
    2 comms = {},
    3 pixelsX = [],
    4 pixelsY = [],
    5 mmax = Math.max,
    6 mtime = 0,
    7 mspace = 0,
    8 parents = {},
    9 ii = 0,
    10 colors = ["#000"];
    1 !function(){
    • Created by: koenpunt

      Oh well, the thing is that this script needs a major overhaul anyway, for now it is just issue solving, and keeping the variables out of global scope :)

      By Administrator on 2012-12-07T21:09:48 (imported from GitLab project)

      By Administrator on 2012-12-07T21:09:48 (imported from GitLab)

  • Created by: dzaporozhets

    Merged. Thank you. Ajax loading of graph is much better

    By Administrator on 2012-12-21T11:07:57 (imported from GitLab project)

    By Administrator on 2012-12-21T11:07:57 (imported from GitLab)

  • Please register or sign in to reply
    Loading