Permalink
Browse files

return the frozen object

  • Loading branch information...
1 parent 52915f5 commit 566d4e7baebe5c2e758aca9ec055e28922d57422 @substack committed Sep 4, 2012
Showing with 3 additions and 1 deletion.
  1. +2 −0 index.js
  2. +1 −1 package.json
View
@@ -9,4 +9,6 @@ module.exports = function deepFreeze (o) {
deepFreeze(o[prop]);
}
});
+
+ return o;
};
View
@@ -1,6 +1,6 @@
{
"name" : "deep-freeze",
- "version" : "0.0.0",
+ "version" : "0.0.1",
"description" : "recursively Object.freeze() objects and functions",
"main" : "index.js",
"directories" : {

0 comments on commit 566d4e7

Please sign in to comment.