RubyLouvre/mmRequest — pull request #8 by ilife5 (2014-11-15 12:01:40+00:00)
Title: 修正：附加timeout参数，在请求超时时，无法触发promise的fai事件

```
avalon.ready(function() {
avalon.ajax({
url: "/basic/search",
timeout: "2000",
type: "get",
dataType: "json",
cache: false
}).done(function(data) {
console.log("done")
}).fail(function(promise) {
console.log("fail")
})
});
```