Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Brix Style的mixin范围讨论 #6

Open
xthsky opened this issue Jul 20, 2012 · 2 comments
Open

Brix Style的mixin范围讨论 #6

xthsky opened this issue Jul 20, 2012 · 2 comments

Comments

@xthsky
Copy link
Member

xthsky commented Jul 20, 2012

最近用脚本(tools/scan.js)统计了下Bootstrap的mixin使用频率,如下图:

可以看到,一共61个mixin,使用频率大于10的仅有4个(如果排除掉被重复了24遍的tableColumns,其实只有3个)。大部分mixin并不常使用,有用的mixin反而被淹没了。

因此Brix Style打算先保留Bootstrap中使用频率大于3的mixin,总mixin数目保持在20个以内。不知大家怎么看?

@cyjake
Copy link
Member

cyjake commented Jul 20, 2012

题外话,为啥这里有的是 camelCase 有的是 hyphen-connected ?

@xthsky
Copy link
Member Author

xthsky commented Jul 20, 2012

还真没注意,多人开发没仔细约定?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants