es2015
Here are 921 public repositories matching this topic...
- The users of this style guide will probably expect that all of the rules that it prescribes will be enforced by eslint. However, this is not the case - there is a secret, non-documented segmentation where some rules are enforced and others are not, because they would be "too noisy on a legacy codebase". An example of a problematic rule like this is covered in issue #2020. I propose that all of
Bug report
Was checking babel/babel#11478 and testing out syntax and noticed we don't error with the normal "use this plugin/preset" like we do for proposals with JSX itself. @nicolo-ribaudo mentioned it's probably since jsx is implemented as a normal plugin so we didn't have `this.expectPlugin("recordAndT
Spurred by conversation in avajs/ava#2449 and avajs/ava#1485 we'd like for our assertions to return booleans. true when they pass, false when they fail. This does not apply to the throws() and throwsAsync() assertions.
Failing assertions will fail the test, but do not throw exceptions. This means your test does not stop executing. Usua
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 Steps to reproduce
- Starting at URL: wordpress.com/post
- Click Jetpack icon for site with broken LinkedIn connection
What I expected
Nicely formatted text
What happened instead
Browser / OS
-
Updated
May 15, 2020 - JavaScript
In the TypeScript styleguide, you mention that "Use index.ts for the module definition file, so you can import the module by directory name", but then go on to use componentName.module.ts as the module file name. Do you recommend using index.ts (or index.js for ES6+ projects) or componentName.module.ts/js?
I personally like index.js, but it's only mentioned in passing in the TS style
-
Updated
May 29, 2020 - JavaScript
创建插件bug
DESC
在v2.2.12版本上,通过 thinkjs plugin xxx 创建的插件,在经过babel编译时存在问题,编译后的代码,无法在thinkjs系统中使用,其依赖和编译命令为:
"dependencies": {
"babel-runtime": "6.x.x"
},
"devDependencies": {
"mocha": "1.20.1",
"istanbul": "0.4.0",
"babel-cli": "6.x.x",
"babel-preset-es2015-loose": "6.x.x",
"babel-preset-stage-1": "6.x.x",
"babel-plugin-transform-runtime": "6.x.x",
"ba
-
Updated
Jun 12, 2019
Expected Behavior
The tooltip height should be enough as for 3 values in the tooltip list, so as for 20 values.
Current Behavior
I am using JsBarcode to make a barcode scanner programming sheet for our application. Our barcode scanner adds some unusual Code128 symbols at the start to make sure that regular barcodes do not cause it to change its settings. For our scanner the programming codes are always in format: START B, FNC3, programming code, STOP.
Forcing Code128B is well documented, but inserting the FNC3 symbol (
Make sure these boxes are checked before submitting your issue - thank you!
(If your issue is neither a both bug nor a request, please write in a free style)
- https://esdoc.org/manual/feature.html
- https://esdoc.org/manual/config.html
- https://esdoc.org/manual/tags.html
- https://esdoc.org/manual/api.html
- https://esdoc.org/manual/faq.html
Short summary of your i
Sorry if this is off-topic, but I love the structure of express-es6-rest-api and I'm struggling to use it with Mongoose. If anyone can point me to an example, that'd be great.
I saw the restful-mongoose link in the README, but that's a bit too automagic to me, I need more control.
React是目前(2017.04)流行的创建组件化UI的框架,自身有一套完整和强大的生态系统;同时它也是我目前工作中的主力框架,所以学习和理解React是很自然的需求。
本文在翻译React Components, Elements, and Instances的基础上,主要专注理解React的一个核心理念:用Elements Tree描述UI。本文也应该是接下来几片React相关文章的开头,所以更合适的标题可能是:
React学习笔记一:Components,Elements和Instances
*请注意,阅读本文最好对React有基本的了解,但React新手也应该
了解 Babel 6 & 7 生态
-
Updated
Apr 12, 2019 - JavaScript
-
Updated
May 28, 2020 - JavaScript
Documentation
I have 2 specific questions:
- Is there a way to compile a JS file instead of a JS string?
- Would it be possible to compile a big projects such as nuxt based project?
I love using nuxt but would like to pre render the pages using golang. Js might be slow for nuxt sites with more than 10000 pages.
Thanks
Document the code
-
Updated
Mar 15, 2020 - PHP
-
Updated
May 22, 2020 - JavaScript
-
Updated
Feb 3, 2020 - JavaScript
-
Updated
Dec 22, 2017 - JavaScript
-
Updated
May 17, 2020
Improve this page
Add a description, image, and links to the es2015 topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the es2015 topic, visit your repo's landing page and select "manage topics."


Update various parts of the text.
There's no such thing as "early ReferenceError" anymore (for things like
0++); they're all just "early SyntaxError" now. tc39/ecma262#691