Permalink
Browse files

Remove use of deprecated process.mixin, replace with util/mixin.js:mi…

…xin()
  • Loading branch information...
1 parent f99a38f commit f50d4123c107f3b51fe219e141ea1550b83c2bb4 @ianb committed Aug 31, 2011
Showing with 9 additions and 0 deletions.
  1. +9 −0 utils/mixin.js
View
@@ -0,0 +1,9 @@
+function mixin(to, from) {
+ for (var key in from) {
+ if (from.hasOwnProperty(key)) {
+ to[key] = from[key];
+ }
+ }
+}
+
+exports.mixin = mixin;

0 comments on commit f50d412

Please sign in to comment.