-
Updated
May 19, 2020
front-end-development
Here are 1,063 public repositories matching this topic...
-
Updated
Mar 16, 2020 - Python
-
Updated
Jul 30, 2019 - JavaScript
-
Updated
Aug 20, 2019 - JavaScript
-
Updated
May 19, 2020
-
Updated
Jan 30, 2020 - HTML
See #56 for the context. My downstream server doesn't look at X-Forwarded-Host
, expecting the Host
header to be the original one received by the reverse proxy (HAProxy in our case in production).
I understand that others proxying to a live server with virtual hosts won't want that behavior, so it should be an option, and preferably per-route.
Maybe add a notation like prefixing a URL with
-
Updated
Dec 28, 2019 - JavaScript
-
Updated
Sep 15, 2019
-
Updated
Jul 6, 2019 - JavaScript
Some folks have noted it would be beneficial to have this repository translated to other languages. One contributor has already volunteered to translate the repository into Russian (woohoo!).
If anyone has the time and drive to help out with other languages, please reply below with the proposed language and I'll give you the "go-ahead"... just to make sure two people don't create translations i
The list looks outdated in today's context so if anyone looking for repositories to contribute for hacktoberfest. Then this might be a good place.
Our main tasks would be
- Add new content which you find useful for yourself while making sure that it isn't already there
- If you think any of the content is already there but is now deprecated then you can help in refactoring that as well. **Pl
Currently I see all components (except views/components) are listed in the /components folder. Do we have away to make /components/subFolder/vueCompnentHere.vue?
Language flag
Include some programming language flag with the links, to show when the link is not only about javascript, and to help people who look for training another language.
Getting Started
Create Tutorial - Getting Started
Hello, I believe in the potential of the tool, I would like to help with the project in the documentation and create a brief use tutorial
-
Updated
Feb 23, 2018 - JavaScript
-
Updated
Apr 16, 2020 - JavaScript
DOM操作性能提升
浏览器中的DOM
在浏览器中DOM和Javascript通常是独立实现的,因此通过Javascript操作DOM会产生很大的性能消耗,因此需要尽可能地减少DOM操作
主要有以下几种方式:
1. 使用innerHTML代替DOM方法
将多次DOM操作转换为字符串拼接,并一次性插入页面
2. 节点克隆
对于一些相同的节点,使用节点克隆(element.cloneNode)而不是节点创建(element.createElement)来创建
3.尽可能少地使用HTML集合
以下方法返回的就是一个集合
- document.getElementsByName()
- document.getElementsByClassName()
- document.getElementsByTagN
vue+jest配置
Calling phonon.navigator().changePage(pageName) does not do anything if pageName is a prefix of phonon.navigator().currentPage.
The following conditions prevents unnecessary changes from the current page to the current page, but it prevents changes to other pages with the current page name as a prefix, too.
if(window.location.hash.indexOf(hash) === -1 && opts.useHash) {
window.locat
-
Updated
May 14, 2020 - Roff
-
Updated
May 18, 2020 - JavaScript
-
Updated
Apr 15, 2019 - TypeScript
-
Updated
Oct 2, 2019 - Python
Add an option for a front-page.twig
template in page.php
.
Code is very similar to what we have in index.php
<?php
global $post;
$context = \Timber\Timber::get_context();
$templates = [ 'page-' . $post->post_name . '.twig', 'page.twig' ];
if ( is_front_page() ) {
array_unshift( $templates, 'front-page.twig' );
}
Timber::render( $templates, $context );
-
Updated
Dec 21, 2019
-
Updated
Jun 27, 2018
-
Updated
Apr 30, 2020
Improve this page
Add a description, image, and links to the front-end-development topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the front-end-development topic, visit your repo's landing page and select "manage topics."
When a property is accessed on an object and if the property is not found on that object, the JavaScript engine should looks at the object's __proto__(different browser has their own implement) .Or, looks at the prototype of its constructor.