Skip to content

Commit 74c4bb5

Browse files
committed
##
1 parent 42d1299 commit 74c4bb5

File tree

17 files changed

+38
-36
lines changed

17 files changed

+38
-36
lines changed

dist/mock.js

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,11 @@ define('mock/constant',[],function() {
8484
}
8585
});
8686
/* global define */
87+
/*
88+
## Utilities
89+
*/
8790
define('mock/util',[],function() {
88-
/*
89-
Utilities
90-
*/
91+
9192
var Util = {}
9293

9394
Util.extend = function extend() {
@@ -214,7 +215,7 @@ define('mock/util',[],function() {
214215
});
215216
/* global define */
216217
/*
217-
# Basics
218+
## Basics
218219
*/
219220
define('mock/random/basic',[],function() {
220221
return {
@@ -344,7 +345,7 @@ define('mock/random/basic',[],function() {
344345
});
345346
/* global define */
346347
/*
347-
# Date
348+
## Date
348349
*/
349350
define('mock/random/date',[],function() {
350351
var patternLetters = {
@@ -488,7 +489,7 @@ define('mock/random/date',[],function() {
488489
});
489490
/* global define, document, module */
490491
/*
491-
# Image
492+
## Image
492493
*/
493494
define('mock/random/image',[],function() {
494495
return {
@@ -770,7 +771,7 @@ define('mock/random/image',[],function() {
770771
});
771772
/* global define */
772773
/*
773-
# Color
774+
## Color
774775
775776
http://blog.csdn.net/idfaya/article/details/6770414
776777
颜色空间RGB与HSV(HSL)的转换
@@ -1055,7 +1056,7 @@ define('mock/random/color',[],function() {
10551056
});
10561057
/* global define */
10571058
/*
1058-
# Helpers
1059+
## Helpers
10591060
*/
10601061
define('mock/random/helper',[],function() {
10611062
return {
@@ -1151,7 +1152,7 @@ define('mock/random/helper',[],function() {
11511152
});
11521153
/* global define */
11531154
/*
1154-
# Text
1155+
## Text
11551156
*/
11561157
define('mock/random/text',['./basic', './helper'], function(Basic, Helper) {
11571158

@@ -1326,7 +1327,7 @@ define('mock/random/name',[],function() {
13261327
});
13271328
/* global define */
13281329
/*
1329-
#### Web
1330+
## Web
13301331
*/
13311332
define('mock/random/web',[],function() {
13321333
return {
@@ -1405,7 +1406,7 @@ define('mock/random/web',[],function() {
14051406
});
14061407
/* global define */
14071408
/*
1408-
# Address
1409+
## Address 字典数据
14091410
14101411
字典数据来源 http://www.atatech.org/articles/30028?rnd=254259856
14111412
@@ -5476,7 +5477,7 @@ define('mock/random/address_dict.js',[],function() {
54765477
});
54775478
/* global define */
54785479
/*
5479-
# Address
5480+
## Address
54805481
*/
54815482
define('mock/random/address',['./address_dict.js'], function(DICT) {
54825483
var REGION = ['东北', '华北', '华东', '华中', '华南', '西南', '西北']
@@ -5523,7 +5524,7 @@ define('mock/random/address',['./address_dict.js'], function(DICT) {
55235524
});
55245525
/* global define */
55255526
/*
5526-
# Miscellaneous
5527+
## Miscellaneous
55275528
*/
55285529
define('mock/random/misc',['./address_dict.js'], function(DICT) {
55295530
return {
@@ -5630,7 +5631,7 @@ define('mock/random/misc',['./address_dict.js'], function(DICT) {
56305631
});
56315632
/* global define */
56325633
/*
5633-
# Mock.Random
5634+
## Mock.Random
56345635
56355636
工具类,用于生成各种随机数据。
56365637
*/
@@ -5664,7 +5665,7 @@ define(
56645665
);
56655666
/* global define */
56665667
/*
5667-
Parser
5668+
## Parser
56685669
56695670
解析数据模板(属性名部分)。
56705671
@@ -6307,7 +6308,7 @@ define('mock/regexp/parser',[], function() {
63076308
});
63086309
/* global define */
63096310
/*
6310-
# RegExp Handler
6311+
## RegExp Handler
63116312
63126313
https://github.com/ForbesLindesay/regexp
63136314
https://github.com/dmajda/pegjs
@@ -7644,7 +7645,7 @@ define('mock/xhr/xhr',['mock/util'], function(Util) {
76447645
});
76457646
/* global define */
76467647
/*
7647-
# toJSONSchema
7648+
## toJSONSchema
76487649
*/
76497650
define(
76507651
'mock/schema/schema',[
@@ -7690,7 +7691,7 @@ define(
76907691
);
76917692
/* global define */
76927693
/*
7693-
# valid(template, data)
7694+
## valid(template, data)
76947695
76957696
校验真实数据 data 是否与数据模板 template 匹配。
76967697

src/mock/parser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* global define */
22
/*
3-
Parser
3+
## Parser
44
55
解析数据模板(属性名部分)。
66

src/mock/random/address.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* global define */
22
/*
3-
# Address
3+
## Address
44
*/
55
define(['./address_dict.js'], function(DICT) {
66
var REGION = ['东北', '华北', '华东', '华中', '华南', '西南', '西北']

src/mock/random/address_dict.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* global define */
22
/*
3-
# Address
3+
## Address 字典数据
44
55
字典数据来源 http://www.atatech.org/articles/30028?rnd=254259856
66

src/mock/random/basic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* global define */
22
/*
3-
# Basics
3+
## Basics
44
*/
55
define(function() {
66
return {

src/mock/random/color.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* global define */
22
/*
3-
# Color
3+
## Color
44
55
http://blog.csdn.net/idfaya/article/details/6770414
66
颜色空间RGB与HSV(HSL)的转换

src/mock/random/date.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* global define */
22
/*
3-
# Date
3+
## Date
44
*/
55
define(function() {
66
var patternLetters = {

src/mock/random/helper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* global define */
22
/*
3-
# Helpers
3+
## Helpers
44
*/
55
define(function() {
66
return {

src/mock/random/image.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* global define, document, module */
22
/*
3-
# Image
3+
## Image
44
*/
55
define(function() {
66
return {

src/mock/random/misc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* global define */
22
/*
3-
# Miscellaneous
3+
## Miscellaneous
44
*/
55
define(['./address_dict.js'], function(DICT) {
66
return {

0 commit comments

Comments
 (0)