question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Strangely empty looking BCD table

See original GitHub issue
Screen Shot 2019-10-15 at 9 31 08 AM

That page was composed from a project that pulls in all old Kuma content and using some reverse engineering tries to make .json files similar to how build-json works.

The JSON for this page is as follows:

      {
        "type": "browser_compatibility",
        "value": {
          "resolve": {
            "__compat": {
              "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/dns/resolve",
              "support": {
                "chrome": {
                  "version_added": false
                },
                "edge": {
                  "version_added": false
                },
                "firefox": {
                  "version_added": "60"
                },
                "firefox_android": {
                  "version_added": "60"
                },
                "opera": {
                  "version_added": false
                }
              }
            }
          }
        }
      }

https://gist.github.com/peterbe/91d6a71a7d0f2b794dcdccfcc0caac64

It seems like there’s should at least be 1 extra row.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
peterbecommented, Oct 30, 2020

Too old now.

0reactions
peterbecommented, Oct 15, 2019

I should give some important context.

I’m working on a prototype where we take all the structured stuff that stumptown-content/scripts/build-json/build-json.js produces and puts into packaged AND this other script that I’m working on. What that script does is that it scrapes ALL content from Kuma. It finds the HTML for each page and looks at the use of {{Compat(ARGS)}} and then manually calls…

const { packageBCD } = require("../build-json/resolve-bcd");

...

        const bcdData = packageBCD(compat);
        return {
            type: "browser_compatibility",
            value: bcdData
        };

So there’s definitely an opportunity to do something with that bcdData struct. However, it would be nice to not have to but then we’re dragging in fixes for legacy into the stumptown-renderer’s BCD ingredient component (that you wrote @joedarc )

Perhaps @Elchi3 can weigh in?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using the 74xx47 BCD to Seven-segment display
If the number is larger than 9 you get a strange output on the display. Try this out by moving your mouse over...
Read more >
Staying Afloat-BCD Problems
Another diver wrote, "I suffered a stuck inflator in shallow water-less than 16 ft (5 m) deep. I stopped. TABLE 1. BCD INSPECTIONS...
Read more >
The BCD Method of Measuring Explained - Bra-makers Supply
Here is a chart that shows what BCD sizes correspond with “most” ready-to-wear sizes in North America and also my Pin-up Girls pattern...
Read more >
Behind Closed Doors (BCD) Scenarios for Residence Life ...
A student is displeased with their housing assignment from the wait list, and has demanded the keys to an empty room on the...
Read more >
Best Scuba BCDs in 2022 - DIPNDIVE
Best Budget Scuba Diving BCDs · Cressi Start Pro 2.0 BCD · Cressi Patrol BCD · Seac Smart Scuba BCD.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found