freeCodeCamp.org's open source codebase and curriculum. Learn to code at home.
-
Updated
Aug 21, 2020 - JavaScript
{{ message }}
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.
freeCodeCamp.org's open source codebase and curriculum. Learn to code at home.
When react is inside an iframe, chrome extension for react devtools fails to detect react.
This is because the extension sets `REACT_DEVTOOLS_GLOBAL_HOOK
The most popular HTML, CSS, and JavaScript framework for developing responsive, mobile first projects on the web.
A book series on JavaScript. @YDKJS on twitter.
JavaScript Style Guide
When developers use webContents‘s 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();
//...
})
`
Promise based HTTP client for the browser and node.js
$ 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
I copied a file which contains an 'ö' in its filename --> the copy feature made \303\266 out of the 'ö'.
Hi All,
The documentation for creating feature mo
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
JavaScript 3D library.
I'm not sure what the policy on css transitions is in this repo, but here's a suggestion.
I noticed that color transitions on the 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
Its not a issue but its a feedback , Include one line code to deal with streaming http response
A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.
Describe the bug
Creating angular project with no initial app throws sb init error
• Detecting project type. ✓
• Adding Storybook support to your "Angular" app
TypeError: Cannot read property 'architect' of undefined
To Reproduce
Steps to reproduce the behavior:
Simple HTML5 Charts using the <canvas> tag
Fast, unopinionated, minimalist web framework for node.
A Vue.js 2.0 UI Toolkit for Web
A professional front-end template for building fast, robust, and adaptable web apps or sites.
A modern JavaScript utility library delivering modularity, performance, & extras.
Meteor, the JavaScript App Platform
A powerful cross-platform UI toolkit for building native-quality iOS, Android, and Progressive Web Apps with HTML, CSS, and JavaScript.
Do you want to request a feature or report a bug?
feature request
What is the current behavior?
Currently 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.
"pkg": "^1.0.0"resolutions field in package.json, pkg: "1.0.0"Created by Brendan Eich
Released December 4, 1995
August - September 2020 • Online
Version
2.6.11
Reproduction link
https://jsfiddle.net/hgaL8t5n/
Steps to reproduce
Use translate=no in a template
What is expected?
template=no to be rendered in the HTML
What is actually happening?
translate=translate is being rendered instead
You can use devtools to inspect the rendered HTML in the reproducible