Skip to content

Commit 5a03476

Browse files
committed
Removing deprecated process.mixin
1 parent cd3ee36 commit 5a03476

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

lib/contacts.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ var Contacts= function Contacts(request) {
88
*/
99
Contacts.prototype.getPublicList= function(user_id, optional_arguments, callback) {
1010
var arguments= {"user_id": user_id};
11-
process.mixin(arguments, optional_arguments || {});
11+
optional_arguments = optional_arguments || {};
12+
for(var key in optional_arguments) arguments[key]= optional_arguments[key];
1213

1314
this._request.executeRequest("flickr.contacts.getPublicList",
1415
arguments, false, null, callback );

lib/photos_comments.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ var PhotosComments= function PhotosComments(request) {
77

88
PhotosComments.prototype.getList= function(photo_id, optional_arguments, callback) {
99
var arguments= {"photo_id": photo_id};
10-
process.mixin(arguments, optional_arguments || {});
10+
optional_arguments = optional_arguments || {};
11+
for(var key in optional_arguments) arguments[key]= optional_arguments[key];
12+
1113
this._request.executeRequest("flickr.photos.comments.getList", arguments, false, null, callback);
1214
};
1315

0 commit comments

Comments
 (0)