Skip to content

Commit

Permalink
Release 0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
qiu8310 committed Oct 31, 2015
1 parent 440bff1 commit 27acf36
Show file tree
Hide file tree
Showing 9 changed files with 16,379 additions and 4,177 deletions.
35 changes: 30 additions & 5 deletions API_TYPES.md
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ __Rules:__



### [Dummy](src/mocks/media.js#L38-49)
### [Dummy](src/mocks/media.js#L39-50)

Using [http://dummyimage.com](http://dummyimage.com) to generate a random image

Expand All @@ -352,7 +352,7 @@ __Rules:__



### [PlaceHold & Placehold](src/mocks/media.js#L51-65)
### [PlaceHold & Placehold](src/mocks/media.js#L52-66)

Using [http://placehold.it](http://placehold.it) to generate a random image

Expand All @@ -369,7 +369,7 @@ __Rules:__



### [PlaceImg & Placeimg](src/mocks/media.js#L67-86)
### [PlaceImg & Placeimg](src/mocks/media.js#L68-87)

Using [http://placeimg.com](http://placeimg.com) to generate a random image

Expand All @@ -386,7 +386,32 @@ __Rules:__



### [Audio & Mp3 & MP3](src/mocks/media.js#L91-106)
### [(anonymous)](src/mocks/media.js#L90-140)

Using [unsplash](https://unsplash.it/) to generate a random image

Support arguments examples:

- 640
- 640x320
- 640/320
- gray
- blur
- west
- south
- east
- north
- center

__Rules:__

- `() -> string`
- `(* ...args) -> string`




### [Audio & Mp3 & MP3](src/mocks/media.js#L145-160)

Generate a random audio url

Expand All @@ -400,7 +425,7 @@ __Rules:__



### [Video & Mp4 & MP4](src/mocks/media.js#L111-127)
### [Video & Mp4 & MP4](src/mocks/media.js#L165-181)

Generate a random video url

Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@

0.3.1 / 2015-10-31
==================

* 添加新类型 Unsplash/Splash/U
* add loopback to todo list
* add Netflix/falcor to README
* 添加 apiary.io
* 添加 json-server
* 核心模块 yod 更新了支持在数组中写对象,这里只更新浏览器版本

0.3.0 / 2015-05-15
==================

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ console.log(yod({
* [Dummy](API_TYPES.md#dummy)
* [PlaceHold & Placehold](API_TYPES.md#placehold--placehold)
* [PlaceImg & Placeimg](API_TYPES.md#placeimg--placeimg)
* [(anonymous)](API_TYPES.md#(anonymous))
* [Audio & Mp3 & MP3](API_TYPES.md#audio--mp3--mp3)
* [Video & Mp4 & MP4](API_TYPES.md#video--mp4--mp4)

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "yod-mock",
"version": "0.3.0",
"version": "0.3.1",
"homepage": "https://github.com/qiu8310/yod-mock",
"authors": {
"name": "Zhonglei Qiu",
Expand Down

0 comments on commit 27acf36

Please sign in to comment.