Browse files

fixes #62

  • Loading branch information...
1 parent 0ef4893 commit 00c40115c94d543b411d9b7003bfacfe1f3e5f20 @disfated disfated committed Jan 15, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/restler.js
View
1 lib/restler.js
@@ -16,6 +16,7 @@ try {
} catch (err) {}
function mixin(target, source) {
+ source = source || {};
Object.keys(source).forEach(function(key) {
target[key] = source[key];
});

0 comments on commit 00c4011

Please sign in to comment.