Aleen

Results 68 issues of Aleen

既然大神都提出性能讨论,那么劣者也提出不才所归纳的一些性能点:https://github.com/aleen42/PersonalWiki/issues/27

话题讨论

REF: https://github.com/marioizquierdo/jquery.serializeJSON/commit/4458bc7f44996912857c7142a28e175a359653fd#r53250238 > @marioizquierdo There are two problems: > > 1. Cannot assume that `getCheckboxUncheckedValue` returns a string value, which should throw an exception when it is not a string...

Here is my module to abstract your function, and there is a shell script to use in `crontab` for updating remote repo each week. [aleen42/auto-contribution](https://github.com/aleen42/auto-contribution) :smile:

The `accumulator` is defined to store grouped data, which should be `{}` by default: ```js ['one', 'two', 'three'].groupBy(i => i.length); // => {3: Array(2), 5: Array(1)} ['one', 'two', 'three'].groupBy(i =>...

Free free to add the plugin as mentioned in #59, [**gitbook-treeview**](https://github.com/aleen42/gitbook-treeview), for generating treeview automatically during building each pages. It is helpful for reading enhancement.

Feel free to add a plugin named [**gitbook-treeview**](https://github.com/aleen42/gitbook-treeview) for reading enhancement?

This is a task for collecting some confusing problems during developing under IE, mostly when we really get confused with **IE8**!! To avoid struggling with IE, it's smart to do...

Tasks!

![image](https://cloud.githubusercontent.com/assets/9573300/23447087/71d7b2bc-fe83-11e6-8d7b-7228c8b78cbe.png) 最近,在啃一本为人所熟知的动物书《[O`Reilly] - High Performance JavaScript - [Zakas]》。本书中,作者主要以四大角度去谈及 JavaScript 如何在性能上得以提高。为了能使其变为我自身 JavaScript 知识体系中的一部分,我以自己的语言去加以总结,并归档于[此链接](https://github.com/aleen42/PersonalWiki/blob/master/Programming/JavaScript/high_performance/high_performance.md)。(虽是英文,但描述得非常直白,希望大家不要害怕。) 在此,我希望通过这个 Issue,以中文的形式从更高的层次去总结所有的性能提升技巧以方便记忆与查询(但是细节也要深入去理解与学习,而非得过且过): ### 1. JavaScript 的加载 作者就此角度主要谈及如何去高效地加载与执行 JavaScript 代码。正因其执行过程会产生阻塞问题,因此我们需要通过若干方式去最小化该性能影响: - 尽可能地把所有的 script 标签置于页面的底部,即 body 标签内的末尾部分。 - 使用构建工具把多个 script...

Communication!
Summary!

最近,Handlebars 模板预处理解析成为了重构任务中的最重要一环。在该环节,我们希望能通过 Webpack Loader 的预处理,直接 export 出模板解析后的函数。举个例子来说,每个模板都会有特定的一种结构: > root context > partials >> partials 1 >> partials 2 >> ... 对应的 `.hbs` 文件就可能会是这样: ```handlebars partial 1 partial 2 ``` 从模板文件的结构来看,我们希望能通过...

Inspiration!

This is translation work according to @xitu's [**translation plans**](https://github.com/xitu/gold-miner). Article is talking about how to prepare for interviews in Google of the author, and a large list of knowledge has...

Translations!