diff --git a/index.js b/index.js index 7f657b9..27e8e6b 100644 --- a/index.js +++ b/index.js @@ -43,7 +43,7 @@ var keyMirror = function(obj) { } for (key in obj) { if (obj.hasOwnProperty(key)) { - ret[key] = key; + ret[key] = Symbol(key); } } return ret; diff --git a/package.json b/package.json index 636f39e..dc538b8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "keymirror", - "version": "0.1.1", + "version": "0.1.2", "description": "A simple utility for creating an object with values equal to its keys. Identical to react/lib/keyMirror", "main": "index.js", "author": "Samuel Reed (http://strml.net/)",