| Jul | AUG | Sep |
| 20 | ||
| 2019 | 2020 | 2021 |
COLLECTED BY
Collection: github.com
JavaScript (JS) is a lightweight interpreted or JIT-compiled programming language with first-class functions. While it is most well-known as the scripting language for Web pages, many non-browser environments also use it, such as Node.js, Apache CouchDB and Adobe Acrobat. JavaScript is a prototype-based, multi-paradigm, dynamic language, supporting object-oriented, imperative, and declarative (e.g. functional programming) styles.
will-prevent-unload event,
They want to ask the user to confirm something most of the time.
Like this:
win.webContents.on('will-prevent-unload', event => { let choice = dialog.showMessageBoxSync({ title:'do you want to close', buttons:['cancel','yes'] }); if(choice === 1) event.preventDefault(); //... }) `Read more bug
$ git grep -n '<< 24' src/
src/base64.h:88: unbase64(src[i + 0]) << 24 |
src/cares_wrap.cc:83: return static_cast<uint32_t>(p[0] << 24U) |
src/node_sockaddr.cc:305: uint32_t check = ptr[0] << 24 | ptr[1] << 16 | ptr[2] << 8 | ptr[3];
src/util-inl.h:51: (((x) & 0xFF) <<24) | \
src/util-inl.h:61: (((x) & 0x0000000000FF0000ul
Read more
C++
good first issue
Open
enum TokenKind { LeftBrace, } function scan(text: string, pos: number) { let c = text[pos]; switch (c) { case '{': return TokenKind.LeftBrace; case '}': return TokenKind.RightBrace; } }We should have a quick fix for the error message
Property 'RightBrace' does not exist on type 'typeof TokenKind'.
to add RightBrace as a missing enum memb
Read more
Domain: Quick Fixes
Suggestion
good first issue
help wanted
Open
StepIcon component are instantaneous, even though the entire component is quite animated and fluid. The StepIcon goes through several colors (default -> active -> completed), and I believe a simple transition: color 300ms ease; already adds quite a bit more style
Read more
component: Stepper
enhancement
good first issue
Open
yarn why won't indicate any package info in the resolutions field
If the current behavior is a bug, please provide the steps to reproduce.
(一)install a package with any version, e.g "pkg": "^1.0.0"
(二)add resolutions field in package.json, pkg: "1.0.0"
(三)upd
Read more
cat-feature
good first issue
Open
Event