Skip to content
#

JavaScript

javascript logo

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.

Here are 135,959 public repositories matching this topic...

freeCodeCamp
benjaminthedev
benjaminthedev commented Jan 2, 2020

The Issue

Whilst going through the ReactJS lessons the link to:

'the way you apply classes to JSX elements.' Isn't working, thus giving a 404. The link it tries to go to is this:

https://www.freecodecamp.org/learn/front-end-libraries/react/learn/front-end-libraries/react/define-an-html-class-in-jsx

I've tested the link in Chrome, Firefox, Safari, Opera, Tor, Chrome Canary and Fire

bootstrap
MartijnCuppens
MartijnCuppens commented Jan 2, 2020

It would be nice to use open search to search through the docs. I made a PR (twbs/bootstrap#29872), but first we got to figure out how to deal with caching and have a solution for the absolute urls in the config xml. Maybe we should also make a separate search page in the docs.

oriprice
oriprice commented Jan 17, 2017

In What about &&? section we have the following code.

function foo() {
    console.log( a );
}

var a = 42;

a && foo(); // 42

result in comment should indicate that foo was called. but in fact we would get same result of "42" if first operand had been called (like in || operator). i think results of a and foo() should be different to make the example be clearer.

electron
crhistianramirez
crhistianramirez commented Jun 30, 2019

Section/Content To Improve
Section in main readme around performing multiple concurrent requests

Suggested Improvement
There is a request to remove axios.all and axios.spread (axios/axios#1042)

Although the functionality has not yet been removed, we can at least stop advertising it if there is intent (with good reason) to remove it. We can still keep

javascript-algorithms
three.js
donmccurdy
donmccurdy commented Sep 27, 2019

The deprecated decodeDracoFile method should be removed and replaced with a parse method similar to other loaders. Currently decodeDracoFile does not propagate errors, and should do so. So probably a signature like:

dracoLoader.parse( arrayBuffer, /* options, maybe? */, onLoad, onError );
JoshuaKGoldberg
JoshuaKGoldberg commented Dec 15, 2019

Search Terms

inferable types no-inferable-types no-inferrable-types removal

Suggestion

It is somewhat unnecessary to add : type declarations for member, parameter, and/or variable types already inferable from code.

// This type declaration actually requests a lower amount of type information,
// as `number` is less specific (narrow) than `3`
const value: number = 3;
30-seconds-of-code
skatcat31
skatcat31 commented Oct 11, 2018

Description

So our function arrayToHtmlList is in a pretty bad space and could use an update. We already had some discussion over at #675 but I wanted to move the update discussion over to an issue for more visibility.

Current problem:

It uses an awkward query selector instead of the `document.prototype.getElementBy

material-ui
lcswillems
lcswillems commented Dec 10, 2019
  • I have searched the issues of this repository and believe that this is not a duplicate.

Summary 💡

I would like to show a first snackbar with transition (growing) and then replace it by other snackbars without transition.

Note: I currently use the key attribute. Without it, snackars replace themself without transition, but they do

ianks
ianks commented Jul 10, 2019

Bug report

What is the current behavior?

Before 4.31.0, webpack never referenced document when it is not defined. After this release, there is code somewhere which assumes a global document is available. This makes it so server side rendering does not work in our application.

If the current behavior is a bug, please provide the steps to reproduce.

Using webpack > 4.31.0

yanokenken
yanokenken commented Sep 11, 2019

If you follow the readme procedure, the following error will occur in the first npm install express.

saveError ENOENT: no such file or directory, open '/xxx/xxx/package.json'

As you know, the cause is package.json does not exist.
Other users seem to have a similar error, so it seems better to add npm init to the readme.
Or I thought it would be nice to bring a link `Please follow

storybook
jakobgn
jakobgn commented Oct 31, 2019

When building and running storybook I would like to be able to pass parameters for angular.json. For instance injecting configurations in Angular is done with "ng serve -c my-config" or "ng build -c my-config" and I would like to do the same when running Angular inside storybook.

As Angular does not support environment variables that is not an option.

Junting-Liu
Junting-Liu commented Nov 13, 2019

Existing Component

Component Name

table

Description

when i call toggleAllSelection function , the select-all were emited。but the document describe select-all will be emited when user click the button。I think the md document should describe the feature correctly

martingronlund
martingronlund commented Oct 1, 2019
const customizer = console.log // returns undefined => merging is handled by `mergeAllWith`

// good
mergeAll([{ a: 1 }, { b: 2 }]) // { a: 1, b: 2 }
mergeAllWith(customizer, [{ a: 1 }, { b: 2 }]) // { a: 1, b: 2 }
// A-OK; customizer logs the following:
// undefined 2 "b" Object { a: 1, b: 2 } Object { b: 2 } undefined

// bad
mergeAll({}, { a: 1 }, { b: 2 }) // { a: 1, b: 2 }; OU
mitar
mitar commented Sep 23, 2019

On Meteor 1.8.1 this is maybe true for browser-policy package, but it is not really true for any realistic Meteor app these days because apps use ecmascript which requires dynamic-import, which enabled eval by default. So in practice, by default, eval is enabled. See #10704.

It should be probably clarified in the README that the package by default keeps it disabled, but Meteor apps by

ionic
sabrinaluo
sabrinaluo commented Jun 5, 2019

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.

  1. install a package with any version, e.g "pkg": "^1.0.0"
  2. add resolutions field in package.json, pkg: "1.0.0"
  3. upd
pere
pere commented Oct 22, 2019

Hi, I have been spending quite sometime wondering why a simple dropdown was not working.
Is not specified on the docs that the must have the class 'dropdown-trigger' (any other is not triggering the dropdown!)

Just a matter of documentation but crucial in order not to waste time :.)
example, this will not work:

<a class='dropdown-button-example btn' href="#" data-target='dropdo

Created by Brendan Eich

Released December 4, 1995

Website
developer.mozilla.org/en-US/docs/Web/JavaScript
Wikipedia
Wikipedia

Related Topics

nodejs css html
The Gems
Game Off 2019 Highlights

The Gems

Solve puzzles, fight enemies, overcome leaps and bounds to help solve a very important mission in this point-and-click / action adventure game. Awarded 1st place in Audio category.

You can’t perform that action at this time.