FIX: `Object.assign` is not available in PhantomJS.

This commit is contained in:
Guo Xiang Tan 2016-12-08 11:21:19 +08:00
parent 7d8a0b051f
commit c3f0ec617f
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ Group.reopenClass({
loadMembers(name, offset, limit, params) { loadMembers(name, offset, limit, params) {
return ajax('/groups/' + name + '/members.json', { return ajax('/groups/' + name + '/members.json', {
data: Object.assign({ data: _.extend({
limit: limit || 50, limit: limit || 50,
offset: offset || 0 offset: offset || 0
}, params || {}) }, params || {})