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,549 public repositories matching this topic...

freeCodeCamp
tomasvn
tomasvn commented Jan 8, 2018

I would like to propose freeCodeCamp's CSS Style guide to improve overall maintainability of the codebase. As the FreeCodeCamp has a lot of contributors, and everyone writes the CSS in a different way. And it is hard to keep of track of different ways of writing CSS.

Initial Recommendations:

Comments

  • Add comments, when you are starting a new LESS file, so the developers know what
st-sloth
st-sloth commented Oct 22, 2017

What problem does this feature solve?

Currently mouse button modifiers, introduced in #4866, are left, middle, right for $event.button values 0, 1, 2 correspondingly. But that is only correct for the "default" right-handed layout. In the left-handed mode (when the buttons are switched in the OS) the right button has 0 value and the left button - 2. Besides, also some right-h

bootstrap
adelivuk
adelivuk commented Nov 5, 2015

Is there a reason why the text selection isn't disabled on the .checkbox label element? It's kind of annoying when you're clicking fast on the element, see the image:

screen shot 2015-11-05 at 13 56 04

Adding these styles fixes the issue:

.checkbox label{
    -webkit-user-select: none;
logashoff
logashoff commented Sep 30, 2015

Style guide should advise wrapping function arguments that go over maximum line length.

function someVeryLongFunctionName(someVeryLongArgumentName1, someVeryLongArgumentName2, someVeryLongArgumentName3) {
  // Function body
}

or:

function myFunction(someArg1, someArg2, someArg3, someArg4, someArg5, someArg6, someArg7, someArg8) {
  // Function body
}

Wrapped:

func
electron
javascript-algorithms
three.js
angular
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
panuhorsmalahti
panuhorsmalahti commented May 26, 2016

The regular expression in the exclude property of a loader configuration can be used to exclude file paths, but the paths provided to the regular expressions are operating system dependent, e.g. on Windows the paths are in the form of "a\b\c" and on Unix-based operating systems "a/b/c". This makes writing correct regular expressions more difficult (and especially to test them).

My proposal is t

weshardee
weshardee commented Feb 2, 2015

When auto indenting JS comment blocks,

/**
 *
 */

becomes:

/**
*
*/

Since the first version is a pretty common comment block pattern (used in JSDoc and YUIDoc and similar projects), it'd be great if the auto indent feature could support this indentation instead of messing with it.

RomanticCat
RomanticCat commented Aug 4, 2016

Hi all,

I had some problem with long tooltips in doughnut chart.
Which could be googled by following url

http://stackoverflow.com/questions/28476159/chart-js-pie-tooltip-getting-cut

Eventually, I solved this issue with following option code using callbacks.
Can we make this configuration as parameters? Currently chart.js support responsive
and seem to detect width of context.

It seems to be

storybook
brandonmp
brandonmp commented Jul 8, 2017

versions:

"@storybook/addon-actions": "^3.1.8",
    "@storybook/react": "^3.1.8",

I'm trying to use Storybook with an electron app. The components are vanilla JS, but some of them import modules from electron

In my app, I configure webpack to target: 'electron-renderer', and this works fine

However, in storybook, doing so results in the error below.

Has anyone confi

ni-ko-o-kin
ni-ko-o-kin commented Jan 24, 2019

Meteor: 1.8.2
OS: Ubuntu 19.04
Browser: Chrome 76, Firefox 71
reproduction repo: https://github.com/ni-ko-o-kin/meteor-loggingin-subscriptions

The expected behavior:
When a user logs in (with username: 'username' and password: 'password' in the reproduction-repo) Meteor.loggingIn() should return true and after it is finished the subscriptions should start to load.

In the reproduc

ionic
Tankatronic
Tankatronic commented Nov 8, 2017

Ionic version: (check one with "x")
(For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[ ] 3.x
[X ] 4.x

I'm submitting a ... (check one with "x")
[ ] bug report
[X ] feature request

Current behavior:
With the standard <select> HTML element, if the element has keyboard focus a user can either use the arrow keys to change betwee

Kampfgnom
Kampfgnom commented Jan 9, 2018

Do you want to request a feature or report a bug?
Bug.

What is the current behavior?

In our Sonartype Nexus private npm repository we somehow managed to remove the latest tag from a module:

$ yarn info @scope/package
yarn info v1.3.2
{ 'dist-tags':
   { foobar: '0.0.4',
     beta: '0.14.0-1' },
  versions:
   [ '0.0.4',
     '0.0.5',
[...]
     '0.14.4' ],
  name

Created by Brendan Eich

Released December 4, 1995

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

Related Topics

nodejs css html
You can’t perform that action at this time.