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

mparizeau-pdftron
mparizeau-pdftron commented Aug 4, 2020

React version: 16.12

Steps To Reproduce

  1. Open http://cygnetuat.sterlingdatarooms.com/PDFTronClientTest/ in IE11
  2. Wait for the application to load in the iframe

The current behavior

Sometimes an "Unspecified error" will appear in the console and the viewer in the iframe won't load

![image](https://user-images.githubusercontent.com/15879431/89355081-60162780-d66f-11ea-829a-fb

electron
bnoordhuis
bnoordhuis commented Aug 18, 2020
$ 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
DanielRosenwasser
DanielRosenwasser commented Aug 14, 2020
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

material-ui

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.

  • Updated Aug 19, 2020
  • JavaScript
storybook
AlokTakshak
AlokTakshak commented Aug 16, 2020

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:

  1. ng new ng-ui --create-application=false
  2. cd ng-ui
  3. ng g lib button -p ui
  4. npx -p @storybook/cli sb
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
You can’t perform that action at this time.