Skip to content

Commit b0b5e49

Browse files
committed
Update README.md
1 parent a208ec3 commit b0b5e49

File tree

1 file changed

+46
-45
lines changed

1 file changed

+46
-45
lines changed

README.md

Lines changed: 46 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ By [Tencent AlloyTeam](http://www.AlloyTeam.com/)
66

77
## 我们的愿景
88

9-
成为业界卓越的Web团队
9+
成为宇宙卓越的Web团队
1010

1111

1212
## 团队部分代码规范
1313
虽然这些细节是小事,但是却体现了一个coder的专业程度。
1414
更多详细情况请看:
15-
http://alloyteam.github.io/code-guide/
15+
http://alloyteam.github.io/CodeGuide/
1616

1717

1818
### 标准文件结构
@@ -38,7 +38,7 @@ http://alloyteam.github.io/code-guide/
3838
...
3939

4040

41-
ps:文件名全部英文小写,不要加复数s或es等等,必要时可以使用下划线“_
41+
文件名全部英文小写,用下划线分隔
4242

4343
4444
@@ -69,7 +69,7 @@ ps:文件名全部英文小写,不要加复数s或es等等,必要时可以
6969
<script type="text/javascript" src="./js/jx.min.js"></script>
7070
<script type="text/javascript">
7171

72-
var J = new Jx();
72+
var J = new Jx();
7373

7474
</script>
7575
</body>
@@ -80,29 +80,29 @@ ps:文件名全部英文小写,不要加复数s或es等等,必要时可以
8080
### 标准javascript代码
8181

8282
/**
83-
* == Javascript eXtension 模块 =========================================================================
84-
* Copyright (c) 2012 Tencent AlloyTeam, All rights reserved.
83+
* === Javascript eXtension 模块 =========================================================================
84+
* Copyright (c) 2015 Tencent AlloyTeam, All rights reserved.
8585
* http://www.AlloyTeam.com/
8686
* Code licensed under the BSD License:
8787
* http://www.AlloyTeam.com/license.txt
8888
*
8989
* @version 2.0
90-
* @author Kinvix(<a href="mailto:Kinvix@gmail.com">Kinvix@gmail.com</a>)
90+
* @author Kinvix <Kinvix@gmail.com>
9191
* @description 描述文字
92-
* -------------------------------------------------------------- 2009.11.17 ----------------------------
92+
* ---2015.6.1 ----------------------------
9393
*/
9494

9595
/**
9696
* 注释
9797
*/
98-
Jx().$package("tencent.alloyteam", function(J){
99-
var packageContext = this,
98+
Jx().$package('tencent.alloyteam', function(J) {
99+
var self = this,
100100
$D = J.dom,
101101
$E = J.event,
102102
$H = J.http;
103103

104-
// 输出字符串Hello world!
105-
J.out("Hello world!");
104+
// 输出字符串'Hello world!'
105+
J.out('Hello world!');
106106

107107
// 输出this === tencent.alloyteam的判断结果
108108
J.out(this === tencent.alloyteam);
@@ -111,25 +111,29 @@ ps:文件名全部英文小写,不要加复数s或es等等,必要时可以
111111

112112
### 标准css代码
113113

114-
.copyright{
115-
margin:50px 0 0 0;
116-
height:50px;
117-
color:#999999;
118-
font-family:Tahoma;
119-
font-size: 12px;
120-
text-align:center;
114+
.copyright {
115+
margin: 50px 0 0 0;
116+
height: 50px;
117+
118+
font-family: Tahoma;
119+
font-size: 12px;
120+
text-align: center;
121+
122+
color: #999;
121123
}
122-
123-
.copyright a{
124-
color:#999999;
125-
text-decoration:none;
124+
125+
.copyright a {
126+
text-decoration: none;
127+
128+
color: #999;
126129
}
127-
130+
128131
/* 注释 */
129132
.copyright a:hover,
130-
.copyright a:focus{
131-
outline:none;
132-
text-decoration:underline;
133+
.copyright a:focus {
134+
text-decoration: underline;
135+
136+
outline: none;
133137
}
134138

135139
### 标准版权声明代码
@@ -150,15 +154,15 @@ ps:文件名全部英文小写,不要加复数s或es等等,必要时可以
150154
<!--Google Analytics-->
151155
<script type="text/javascript">
152156

153-
var _gaq = _gaq || [];
154-
_gaq.push(['_setAccount', 'UA-23019343-9']);
155-
_gaq.push(['_trackPageview']);
157+
var _gaq = _gaq || [];
158+
_gaq.push(['_setAccount', 'UA-23019343-9']);
159+
_gaq.push(['_trackPageview']);
156160

157-
(function() {
158-
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
159-
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
160-
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
161-
})();
161+
(function() {
162+
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
163+
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
164+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
165+
})();
162166

163167
</script>
164168

@@ -167,13 +171,10 @@ ps:文件名全部英文小写,不要加复数s或es等等,必要时可以
167171

168172
### 关于团队
169173

170-
```javascript
171-
var team = {
172-
name : "AlloyTeam",
173-
qq : 1838456721,
174-
site : "http://www.alloyteam.com/",
175-
github : "http://alloyteam.github.io/",
176-
coding : "http://www.coding.net/alloyteam/"
177-
}
178-
179-
```
174+
var AlloyTeam = {
175+
name: 'AlloyTeam',
176+
qq: 1838456721,
177+
site: 'http://www.alloyteam.com/',
178+
github: 'http://alloyteam.github.io/',
179+
coding: 'http://www.coding.net/alloyteam/'
180+
}

0 commit comments

Comments
 (0)