This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This module uses AP2 as its starting point: | |
// https://github.com/domenic/promises-unwrapping | |
var hasOwn = Function.prototype.call.bind(Object.prototype.hasOwnProperty); | |
function mixin(a, b) { | |
Object.keys(b).forEach(function(key) { | |
a[key] = b[key]; | |
}); | |
return a; |
NewerOlder