Skip to content
#

front-end-development

Here are 1,063 public repositories matching this topic...

tbroyer
tbroyer commented Mar 23, 2016

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

nas5w
nas5w commented Feb 25, 2019

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

RitikPatni
RitikPatni commented Oct 19, 2019

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
louzhedong
louzhedong commented Sep 23, 2019

浏览器中的DOM

在浏览器中DOM和Javascript通常是独立实现的,因此通过Javascript操作DOM会产生很大的性能消耗,因此需要尽可能地减少DOM操作

主要有以下几种方式:

1. 使用innerHTML代替DOM方法

将多次DOM操作转换为字符串拼接,并一次性插入页面

2. 节点克隆

对于一些相同的节点,使用节点克隆(element.cloneNode)而不是节点创建(element.createElement)来创建

3.尽可能少地使用HTML集合

以下方法返回的就是一个集合

  • document.getElementsByName()
  • document.getElementsByClassName()
  • document.getElementsByTagN
cbettinger
cbettinger commented Apr 3, 2018

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
v1

这是我准备写的第一本书,其实早些时候已经打算开始写书了,只是苦于没有写书经验,无从下手。写书不同于博客,写书需要将知识,经验等系统化地讲述出来,而我现在恰巧缺乏这种表现能力。因此我决定在这里将项目中零散的东西记录下来,然后后期润色一下,写成一本书。

  • Updated May 14, 2020
  • Roff

MorphL Community Edition uses big data and machine learning to predict user behaviors in digital products and services with the end goal of increasing KPIs (click-through rates, conversion rates, etc.) through personalization

  • Updated Oct 2, 2019
  • Python
marcinkrzeminski
marcinkrzeminski commented Oct 25, 2019

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 );

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.

Curate this topic

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."

Learn more

You can’t perform that action at this time.