Skip to content

Commit a5ca329

Browse files
committed
+1.0.0-alpha1
1 parent 15a269d commit a5ca329

File tree

5 files changed

+10
-6
lines changed

5 files changed

+10
-6
lines changed

dist/mock-min.js

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/mock-min.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/mock.js

+2
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ return /******/ (function(modules) { // webpackBootstrap
8383
_mocked: {}
8484
}
8585

86+
Mock.version = '1.0.0-alpha1'
87+
8688
// 避免循环依赖
8789
XHR.Mock = Mock
8890

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "mockjs",
33
"title": "Mock.js",
44
"description": "模拟请求 & 模拟数据",
5-
"version": "0.2.0-alpha1",
5+
"version": "1.0.0-alpha1",
66
"homepage": "http://mockjs.com/",
77
"keywords": [
88
"mock",

src/mock.js

+2
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ var Mock = {
2727
_mocked: {}
2828
}
2929

30+
Mock.version = '1.0.0-alpha1'
31+
3032
// 避免循环依赖
3133
XHR.Mock = Mock
3234

0 commit comments

Comments
 (0)