Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d7c6ee8

Browse files
committed
修订
修订
1 parent 1096276 commit d7c6ee8

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@
6868

6969
规范名称 | Cook
7070
--------|------|
71-
当前版本 | v0.0.1
71+
当前版本 | v1.0
7272
规范发起 | [杜瑶(@doyoe)](http://weibo.com/doyoe)
7373
参与人群 | Qunar FED
74-
最后更新 | 2014.10.11
74+
最后更新 | 2014.10.30
7575

7676
<a name="general"></a>
7777
## 通用约定
@@ -485,7 +485,7 @@
485485
g-|全局通用样式命名,前缀g全称为global,一旦修改将影响全站样式|g-mod
486486
m-|模块命名方式|m-detail
487487
ui-|组件命名方式|ui-selector
488-
J-|所有用于纯交互的命名,不涉及任何样式规则。JSer拥有全部定义权限|J-switch
488+
js-|所有用于纯交互的命名,不涉及任何样式规则。JSer拥有全部定义权限|js-switch
489489

490490
* 选择器必须是以某个前缀开头
491491

@@ -505,7 +505,7 @@ J-|所有用于纯交互的命名,不涉及任何样式规则。JSer拥有全
505505

506506
> 所有的选择器必须是以 g-, m-, ui- 等有前缀的选择符开头的,意思就是说所有的规则都必须在某个相对的作用域下才生效,尽可能减少全局污染。
507507
508-
J- 这种级别的className完全交由JSer自定义,但是命名的规则也可以保持跟重构一致,比如说不能使用拼音之类的
508+
js- 这种级别的className完全交由JSer自定义,但是命名的规则也可以保持跟重构一致,比如说不能使用拼音之类的
509509

510510
<a name="reuse"></a>
511511
### 6.复用与重写
@@ -719,7 +719,6 @@ J- 这种级别的className完全交由JSer自定义,但是命名的规则也
719719
   color: #222\0; /* For IE8 and later, Opera without Webkit */
720720
   color: #333\9\0; /* For IE8 and later */
721721
   color: #444\0/; /* For IE8 and later */
722-
   [;color: #555;]; /* For Webkit, IE7 and earlier */
723722
   *color: #666; /* For IE7 and earlier */
724723
   _color: #777; /* For IE6 and earlier */
725724
}
@@ -747,7 +746,6 @@ if条件共包含6种选择方式:是否、大于、大于或等于、小于
747746

748747
```
749748
<version>
750-
751749
目前的常用IE版本为6.0及以上,推荐酌情忽略低版本,把精力花在为使用高级浏览器的用户提供更好的体验上,另从IE10开始已无此特性
752750
```
753751

0 commit comments

Comments
 (0)