Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
nuysoft committed Dec 14, 2015
1 parent f38933f commit d08e487
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions dist/mock-min.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/mock.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! mockjs 02-06-2015 22:03:43 */
/*! mockjs 14-12-2015 16:19:19 */
/*! src/mock-prefix.js */
/*!
Mock - 模拟请求 & 模拟数据
Expand All @@ -7,7 +7,7 @@
*/
(function(undefined) {
var Mock = {
version: "0.1.9",
version: "0.1.11",
_mocked: {}
};
/*! src/util.js */
Expand Down Expand Up @@ -1016,7 +1016,7 @@
Zepto.ajax = function(options) {
var item = find(options);
if (item) {
var data = Mock.mock(item.template);
var data = convert(item, options);
if (options.success) options.success(data, xhr, options);
if (options.complete) options.complete(xhr.status, xhr, options);
return xhr;
Expand Down
1 change: 1 addition & 0 deletions mock-min.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "mockjs",
"title": "Mock.js",
"description": "模拟请求 & 模拟数据",
"version": "0.1.10",
"version": "0.1.11",
"homepage": "http://mockjs.com/",
"keywords": [
"mock",
Expand Down
2 changes: 1 addition & 1 deletion src/mock-prefix.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
*/
(function(undefined) {
var Mock = {
version: '0.1.9',
version: '0.1.11',
_mocked: {}
}

0 comments on commit d08e487

Please sign in to comment.