use native assign if available.

This commit is contained in:
Christopher Jeffrey 2016-06-30 22:50:47 -07:00
parent bd56b46806
commit a09bd94052
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -697,6 +697,9 @@ utils.merge = function merge(target) {
return target;
};
if (Object.assign)
utils.merge = Object.assign;
/**
* Assertion.
* @function