Skip to content

Join GitHub (or sign in) to find projects, people, and topics catered to your interests.

Here's what's popular on GitHub today...

Trending repository
sebmck
sebmck commented Feb 20, 2020

The rome package will likely be the only package published for users. This will contain the CLI and a very thin API that heavily limits the public API exposed. There's no intention to publish any other packages as this would heavily restrict the changes we can make.

  • Custom project finding logic exists that matches th
Mastodon logo
Popular topic
Mastodon is a free, decentralized, open-source microblogging network.
Git Merge 2020
Upcoming event recommended by GitHub
Mar
4

Git Merge 2020

March 04, 2020 • Los Angeles

Git Merge is a one-day conference dedicated to the version control tool that started it all—and the people who use it every day.
App recommended by GitHub

CloudBees CodeShip

Fast, Easy and customizable

With faster feedback cycles, local debugging, build caching and customized environments, CodeShip helps you build the products your users love.

trax
Trending repository
Trending repository
wnesensohn
wnesensohn commented May 23, 2016

Selection Sort, for example, makes the algorithm look extremely (impossibly) good at first glance - O(n) - because it's not showing the majority of the steps.

Instead of

    for (var j = i + 1; j < D.length; j++) {
        if (D[j] < D[minJ]) {
            tracer._select(j);
            minJ = j;
            tracer._deselect(j);
        }
    }

it has to be more like

    for (var j
Trending repository
saulotoledo
saulotoledo commented Feb 11, 2020

The documentation for the HTTP exceptions in packages/common/exceptions/ is incorrect:

  • The default return format for specific HTTP exceptions is { statusCode, error }, not { statusCode, message } (this leads to #4044, but it may be a breaking change and it can wait);
  • The statusCode in the result cannot be overwritten as described;
  • A proper explanation for the message argument
Trending repository
manniL
manniL commented Oct 12, 2019

What problem does this feature solve?

To make sure the user doesn't accidentally generates an SPA while he wants a pre-rendered page, it might be worth to write a short sentence about the mode of the project while generating

What does the proposed changes look like?

Current status: "Generating pages" is logged, which is quite general.

![image](https://user-images.githubusercont

Trending repository
funlee
funlee commented Mar 6, 2019

在ES5中,顶层对象的属性和全局变量是等价的,var 命令和 function 命令声明的全局变量,自然也是顶层对象。

var a = 12;
function f(){};

console.log(window.a); // 12
console.log(window.f); // f(){}

但ES6规定,var 命令和 function 命令声明的全局变量,依旧是顶层对象的属性,但 let命令、const命令、class命令声明的全局变量,不属于顶层对象的属性。

let aa = 1;
const bb = 2;

console.log(window.aa); // undefined
console.log(window.bb); // undefined

在哪里?怎么获取?通过在设置断点,看看浏览器是

Trending repository
Trending repository
Slack + GitHub screenshot
App recommended by GitHub

Slack + GitHub

Bring your code to the conversations you care about with the GitHub and Slack app. A separate Slack subscription is required. With two of your most important workspaces connected, you’ll get updates about what’s happening on GitHub—without leaving Slack.

You can’t perform that action at this time.