Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Commit d732ddf

Browse files
committed
修改格式
1 parent a1ce781 commit d732ddf

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

CONTRIBUTING.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
编码规范:
1919
所有public修饰的方法必须要有注释,大括号采用上下对齐的方式
2020
属性注释格式
21-
```java
21+
````java
2222
/** 状态 */
2323
public static final int FETCH_SUCCESS = 1;
24-
```
24+
````
2525
类注释格式(必须要有author标签)
26-
```java
26+
````java
2727
/**
2828
* 用于回调的接口
2929
* @author suren
@@ -33,11 +33,11 @@ public interface Callback<T>
3333
{
3434
void callback(T data);
3535
}
36-
```
36+
````
3737
赋值符号两边必须各有一个空格,例如:
38-
```java
38+
````java
3939
String value = locatorMap.get(key);
40-
```
40+
````
4141
## JavaScript
4242
JS的框架使用的是Bootstrap。
4343
需要遵守的代码规范:

0 commit comments

Comments
 (0)