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...

Amp logo
Popular topic
Amp is a non-blocking concurrency framework for PHP.
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

Code Inspector

Code Inspector is a code analysis platform that does automated code reviews, technical debt management and analysis of code quality trends over time. The platform aggregates multiple quality metrics (violations, duplicates, readability, complexity). The platform reports the $ figure of the technical debt and show trends of your code base. Code Inspector reports the most critical issues by distinguishing them according to their category, severity and location.

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
App recommended by GitHub

AppVeyor

Windows developers use AppVeyor to continuously run their tests and deploy apps to cloud or on-premise environments. AppVeyor CI can update the build status on your GitHub pull requests, upload build artifacts to project release and deploy successful builds. AppVeyor is not just a build tool, but it's the place of Windows CI knowledge accumulation - thanks to AppVeyor's vibrant community!

You can’t perform that action at this time.