提交 15456277 编写于 作者: J Joshua Peek

Assign to `self`

上级 75bb3eb6
(function(global) {
(function() {
'use strict';
if (global.fetch) {
if (self.fetch) {
return
}
......@@ -203,7 +203,7 @@
Body.call(Response.prototype)
global.fetch = function (url, options) {
self.fetch = function (url, options) {
return new Request(url, options).fetch()
}
})(this);
})();
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册