Skip to content
#

js

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

andylieonian
andylieonian commented Nov 8, 2018

layui.js中,getPath方法探测layui所在目录代码存在bug,只有layui.js在页面中最后引入时,才能正确找到layui路径。
,getPath = function(){
var jsPath = doc.currentScript ? doc.currentScript.src : function(){
var js = doc.scripts
,last = js.length - 1
,src;
for(var i = last; i > 0; i--){
if(js[i].readyState === 'interactive

docz
eu81273
eu81273 commented May 19, 2017

If the document.domain property is set in the page, _has module throws error "Access is denied" when try to check window's property for example 'hasOwnProperty'.

So I think it is better to change _has module like below.

var hasOwnProperty = {}.hasOwnProperty;
module.exports = function(it, key){
  try {
    return hasOwnProperty.call(it, key);
  } catch(e){
    return 
pt-br
pt-br commented Aug 24, 2019

I've ran into this issue for a couple hours and I ended up editing the dist library adding two new functions called fetchVideo and bufferToVideo that works pretty much like the fetchImage and bufferToImage functions.

I'll leave it here to help somebody else with the same issue and in case someone wants to include it on future releases.

face-api.js

...
exports.fetchVideo = fetc
cdnjs
waltjones
waltjones commented Dec 9, 2019

When the updater was reenabled, rollbar.js caught up to its then current version of 2.14.4. Since then, 2.14.5 and 2.14.6 have been tagged at https://github.com/rollbar/rollbar.js but are not showing up at https://github.com/cdnjs/cdnjs/blob/master/ajax/libs/rollbar.js/ and https://github.com/cdnjs/cdnjs/blob/master/ajax/libs/rollbar.js/package.json is still set to 2.14.4.

Any help is appreciat

tiptap
chrisjbrown
chrisjbrown commented Apr 22, 2020

Describe the bug
on an Android device using chrome browser

in the editor
with the cursor in front of a mention node
the editor either skips over the mention deleting the previous node
or copying and pasting the contents of the mention node.

these can be observed on the example page
https://tiptap.scrumpy.io/suggestions

Environment

  • OS: Android
  • Chrome

![Screen-Reco

bug
khusamov
khusamov commented Jan 24, 2020

How import stylesheets-files?

@import url('https://fonts.googleapis.com/css?family=Spectral&display=swap');

Came up with the following solution:

import {create} from 'jss';

create().createStyleSheet({
	'@import': 'url(https://fonts.googleapis.com/css?family=Spectral&display=swap)'
}).attach();

But I would like to do it in global styles.

But the `j

foolip
foolip commented Nov 20, 2018

System information

  • node version: v10.13.0
  • npm or yarn version: 6.4.1
  • OS/version/architecture: gLinux 64-bit (Google-internal, like Debian Testing)
  • Applicable nodegit version: v0.23.0 built from source

https://www.nodegit.org/api/tree/ has an example of how to use tree.walk(), but it doesn't mention a critical detail, which is mentioned in an example:
https://github.com

leahein
leahein commented Jan 23, 2020

This isn't so much an issue as a question about contributing --

I'm an avid user of the library, and have submitted a few issues in the past as well. I'd love to contribute to the library and I thought a good way to start would be by improving the docs, starting with React.
Since React has added hooks and is moving away from class components, I t

cnpmge
cnpmge commented Apr 14, 2020

Please read and follow the issue templates:

  1. Bug Report or Documentation Issue or Questions and Help?

  2. Which react-native-wechat version are you using?

  3. What platform does your issue occur on? (Android/iOS/Both)

  4. Please provide a clear and concise description of what the bug is as precisely as possible,you can:

  1. post a screenshot to explain in which case you get the i

Created by Brendan Eich

Released December 4, 1995

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

Related Topics

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