Skip to content

Commit 3c36d98

Browse files
committedMar 9, 2015
More ES6.
1 parent 1d7c30f commit 3c36d98

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎src/index.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ class DSHttpAdapter {
121121
config.method = 'get';
122122
}
123123
return this.HTTP(deepMixIn(config, {
124-
url: url
124+
url
125125
}));
126126
}
127127

@@ -131,7 +131,7 @@ class DSHttpAdapter {
131131
config.method = 'post';
132132
}
133133
return this.HTTP(deepMixIn(config, {
134-
url: url,
134+
url,
135135
data: attrs
136136
}));
137137
}
@@ -142,7 +142,7 @@ class DSHttpAdapter {
142142
config.method = 'put';
143143
}
144144
return this.HTTP(deepMixIn(config, {
145-
url: url,
145+
url,
146146
data: attrs || {}
147147
}));
148148
}
@@ -153,7 +153,7 @@ class DSHttpAdapter {
153153
config.method = 'delete';
154154
}
155155
return this.HTTP(deepMixIn(config, {
156-
url: url
156+
url
157157
}));
158158
}
159159

0 commit comments

Comments
 (0)
Please sign in to comment.